fix: Interpret custom_dir relative to current directory, not config directory #29

Merged
glen merged 1 commits from theme_loc into main 2024-11-02 19:29:15 +00:00
Owner

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.

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.
glen added 1 commit 2024-11-02 19:28:49 +00:00
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.
glen merged commit 8c7fce2538 into main 2024-11-02 19:29:15 +00:00
glen deleted branch theme_loc 2024-11-02 19:29:16 +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#29
No description provided.