feat: Add extract_on_copy option #18

Merged
glen merged 1 commits from copy_first into main 2022-07-12 19:32:40 +00:00
Owner

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.

Bumps the version to 0.4.0.

Resolves #17.

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. Bumps the version to 0.4.0. Resolves #17.
glen added 1 commit 2022-07-12 19:22:36 +00:00
feat: Add extract_on_copy option
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
9d75fefb81
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.
glen merged commit 6247034203 into main 2022-07-12 19:32:40 +00:00
glen deleted branch copy_first 2022-07-12 19:32:51 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: glen/mkdocs-semiliterate#18
No description provided.