The custom theme dir handling was not working in case the mkdocs config
file was not in the top-level directory. Since mkdocs itself seems only
to work in the top-level directory, this PR modifies mkdocs_semiliterate
to interpret custom theme dirs relative to the current directory.
Also, improves the harmonization between current mkdocs_simple_plugin
code and this code.
Resolves#28.
Also had to update the test fixtures because mkdocs, bootstrap, whatever it may be have changed, so the sites end up slightly different.
Reviewed-on: #24
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
Previously, mkdocs_semiliterate would always attempt to extract documentation
from a file, even if it matched the `include_extensions` pattern for files to
be copied to the documentation site verbatim.
Now, by default, such files are not considered candidates for extraction,
even if they match a semiliterate pattern.
Adds a configuration option `extract_on_copy` which can be set to `true` to
restore the prior behavior. Also adds tests for the behavior with and without
`extract_on_copy` and makes all `mkdocs build` commands in the tests strict,
which they always should have been.
Resolves#17.
Now reiterates significantly less code from the simple plugin. Also, adjusted
the default for extract_standard_markdown when copy_standard_markdown is true.