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

docs: update mkdocs settings to allow copying blocks of code / downloading URL-based snippets #583

Merged
merged 2 commits into from
Nov 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ theme:
custom_dir: mkdocs/overrides
features:
- navigation.indexes
- content.code.copy

plugins:
multirepo:
Expand Down Expand Up @@ -142,7 +143,7 @@ markdown_extensions:
pymdownx.superfences: {}
pymdownx.arithmatex: # required for equation display
generic: true
pymdownx.snippets: {}
pymdownx.snippets: { url_download: True }
pymdownx.tabbed:
alternate_style: true

Expand Down