Commit Graph

4 Commits

Author SHA1 Message Date
Glen Whitney 9d75fefb81 feat: Add `extract_on_copy` option
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
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.
2022-07-12 12:14:41 -07:00
Glen Whitney b4a49b67b8 chore: Update to mkdocs-simple-plugin v1.0
continuous-integration/drone Build is passing Details
Also updates from pep517.build to the `build` package, and bumps the
  semiliterate version number.
  Resolves #14.
2021-08-24 10:58:55 -07:00
Glen Whitney 5a1f9e044a refactor: Adjust to latest commit of simple plugin
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details
Now reiterates significantly less code from the simple plugin. Also, adjusted
  the default for extract_standard_markdown when copy_standard_markdown is true.
2021-01-13 21:36:29 -08:00
Glen Whitney 82602a4bbe fix: Allow bare `{! file.md !}' inclusion
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details
Also moves the site tests into a bash script.

  Resolves #6.
2021-01-10 09:16:40 -08:00