Skip to content

Commit 2de841e

Browse files
ericastorcopybara-github
authored andcommitted
Add print-site plugin to mkdocs.
On navigating to `/print_page/`, users will get a "printable" version of our docs, combining all the information into one reasonably-printable page. NOTE: This currently prints out at >350 pages. PiperOrigin-RevId: 633289055
1 parent 7942790 commit 2de841e

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎.github/workflows/build-mkdocs-commit-html.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install Python dependencies
2222
run: |
2323
pip install --upgrade pip
24-
pip install mkdocs mkdocs-gen-files mkdocs-material mkdocs-exclude mdx_truly_sane_lists
24+
pip install mkdocs mkdocs-gen-files mkdocs-material mkdocs-exclude mkdocs-print-site-plugin mdx_truly_sane_lists
2525
- name: Build MkDocs And Commit HTML
2626
run: |
2727
mkdocs build

‎mkdocs.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,4 @@ plugins:
103103
- exclude:
104104
glob: BUILD
105105
- search
106+
- print-site

0 commit comments

Comments
 (0)