Skip to content

Commit

Permalink
revert pre-hook due to continuous recompile during serve (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
athackst committed Apr 29, 2022
1 parent 7697404 commit cd00da1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 6 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@ set -e
pip install -r requirements.txt
pip install -e .
# md file="build.snippet"
# Building this package simply requires using `mkdocs_simple_gen` to generate the site.
# Building this package requires generating the readme files for the examples.
#
# ```bash
./examples/gen_readme.py
# ```
#
# And then using `mkdocs_simple_gen` to generate the site.
# ```bash
mkdocs_simple_gen --build -- --verbose
# ```
# /md
3 changes: 0 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
site_name: athackst/mkdocs-simple-plugin
docs_dir: /tmp/mkdocs-simple/mkdocs-simple-plugin
plugins:
- mkdocs-simple-hooks:
hooks:
on_pre_build: examples.gen_readme:generate
- simple:
include_extensions:
- .yml
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ mkdocs-awesome-pages-plugin==2.7.0
mkdocs-click==0.6.0
mkdocs-macros-plugin==0.7.0
mkdocs-material==8.2.11
mkdocs-simple-hooks==0.1.5
mkdocstrings==0.18.1
mkdocstrings-python-legacy==0.2.2
pip-upgrader==1.4.15
Expand Down

0 comments on commit cd00da1

Please sign in to comment.