Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom CSS to documentation #640

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

mtorpey
Copy link
Collaborator

@mtorpey mtorpey commented Apr 17, 2024

It may be useful to have our own custom CSS in the HTML version of manual, as recently when adding images in figures. There's some system for this in GAPDoc, but it appears to be for adding user-choosable styles that can be turned on and off, which isn't quite what we want. Here, we simply append some custom css to GAPDoc's main manual.css file after copying it to the directory, which the GAPDoc manual at least says we're allowed to do.

This can hopefully avoid hacky non-semantic HTML we might be tempted to write in the future.

@mtorpey mtorpey added the doc Issues, bugs, pull requests relating to the documentation label Apr 17, 2024
@james-d-mitchell
Copy link
Member

Nice one @mtorpey, I've enabled auto-merge so if the CI passes this'll be merged.

Copy link
Member

@james-d-mitchell james-d-mitchell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@james-d-mitchell james-d-mitchell enabled auto-merge (rebase) April 17, 2024 12:54
@james-d-mitchell james-d-mitchell merged commit 3e01374 into digraphs:main Apr 17, 2024
19 checks passed
@mtorpey mtorpey deleted the add-custom-css branch April 18, 2024 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Issues, bugs, pull requests relating to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants