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

Update to technote 0.7 #214

Merged
merged 5 commits into from
Jan 30, 2024
Merged

Update to technote 0.7 #214

merged 5 commits into from
Jan 30, 2024

Conversation

jonathansick
Copy link
Member

@jonathansick jonathansick commented Jan 29, 2024

This version of technote defaults the date_modified metadata to the build time if a date isn't explicitly set. Also improves the CSS for code samples.

Additional cahgnes in documenteer:

  • Add sphinx_design as a default extension for technotes.
  • If the version field in documenteer.toml isn't set, and the project isn't a Python package, then the default value is now "Latest." The former default, None, was invalid.

- This version of technote defaults the date_modified metadata to the
  build time if a date isn't explicitly set.
- CSS improvements for code samples without captions
This lets up add things like grids, icons, and buttons to technotes
(e..g https://sqr-084.lsst.io uses this)
If a version was not set in the project table, and the project isn't a
Python package, then default to a string "Latest" for the Sphinx
version. "None" isn't a valid value for Sphinx.
@jonathansick jonathansick marked this pull request as ready for review January 30, 2024 22:47
@jonathansick jonathansick merged commit 5cd9a52 into main Jan 30, 2024
5 checks passed
@jonathansick jonathansick deleted the tickets/DM-42705 branch January 30, 2024 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant