diff --git a/.drone.yml b/.drone.yml index 40edd55..7b4477d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,6 +6,11 @@ # ``` # git clone https://code.studioinfinity.org/glen/mkdocs-semiliterate # ``` +# +# For the remaining steps, it may be easiest to do them in a python +# virtual environment. If you put the virtual environment in `.venv` at +# the top level of the project, it will not disrupt any of the tests. +# Remember to activate your virtual environment before doing the testing. ### kind: pipeline name: bootstrap @@ -42,7 +47,7 @@ steps: # starting from the top-level `mkdocs-semiliterate` directory, run the commands # that drone uses to test: # ``` - - flake8 --max-line-length=80 --extend-exclude=build + - flake8 --max-line-length=80 --extend-exclude=build --extend-exclude=.venv - mkdocs build - find site -not -path '*fonts*' -not -path '*img*' -not -path '*js*' | sort -f | diff tests/bootstrap.manifest - - bash tests/sites.bash diff --git a/mkdocs.yml b/mkdocs.yml index 71b1352..a4dd21a 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -7,7 +7,7 @@ plugins: - search - semiliterate: merge_docs_dir: false - ignore_folders: [build, dist, tests, semiliterate] + ignore_folders: [build, dist, tests, semiliterate, .venv] ignore_hidden: false include_extensions: [LICENSE, '.png'] extract_standard_markdown: diff --git a/setup.cfg b/setup.cfg index 42d05ac..e8d3d4c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = mkdocs-semiliterate -version = 0.7.0 +version = 0.7.1 description = Extension of mkdocs-simple-plugin adding easy content inclusion long_description = file: README.md long_description_content_type = text/markdown diff --git a/tests/fixtures/extract-inclusion/refsite/404.html.cropped b/tests/fixtures/extract-inclusion/refsite/404.html.cropped index 0182f40..58f266d 100644 --- a/tests/fixtures/extract-inclusion/refsite/404.html.cropped +++ b/tests/fixtures/extract-inclusion/refsite/404.html.cropped @@ -1,5 +1,5 @@ - + @@ -8,7 +8,6 @@ Enable extraction from included files - @@ -16,7 +15,7 @@
Enable extraction from included files - @@ -24,15 +23,15 @@
@@ -64,7 +63,7 @@