Skip to main content

ProperDocs plugin to allow placing properdocs.yml in the same directory as documentation

Project description

mkdocs-same-dir

Plugin for ProperDocs to allow placing properdocs.yml in the same directory as documentation

PyPI License GitHub Workflow Status

pip install mkdocs-same-dir

Usage

Activate the plugin in properdocs.yml, along with actually changing docs_dir
(normally, ProperDocs absolutely wouldn't let you set it to .):

site_name: foo
docs_dir: .
site_dir: ../site

plugins:
  - search
  - same-dir

and now you can move this properdocs.yml into your docs directory, or move your docs alongside properdocs.yml.

See example layout

Important notes

Another necessary effect of this plugin is that files directly at the root of the docs dir will no longer be picked up, unless they are Markdown files.

And note that the implementation of this plugin is a huge hack that monkeypatches ProperDocs' internals. But I pledge to keep up with ProperDocs updates and keep it working as long as that's still possible.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mkdocs_same_dir-0.1.5.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mkdocs_same_dir-0.1.5-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs_same_dir-0.1.5.tar.gz.

File metadata

  • Download URL: mkdocs_same_dir-0.1.5.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mkdocs_same_dir-0.1.5.tar.gz
Algorithm Hash digest
SHA256 677cf8d682d0ae6226620871c01906a1a631083f2b00fac58ffe9019b2cb2322
MD5 edf090b1cc95c89de6392aecbdb02d51
BLAKE2b-256 2e58f49fdf5fd82cb82ab1ee4fb9a5729d741d8dd6bb9623e0471ad704a6f0c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for mkdocs_same_dir-0.1.5.tar.gz:

Publisher: deploy-release.yml on oprypin/mkdocs-same-dir

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mkdocs_same_dir-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for mkdocs_same_dir-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a9cc599caf438da288ba14b21d24db4bb7975106eef1cd56d0d92e6835c366aa
MD5 c5390b8a0da0b5d1b7fe78766dec4306
BLAKE2b-256 caf0bc3618e170db0f47baf02f15ca465ee342a28400c5630e561fad9d1ff191

See more details on using hashes here.

Provenance

The following attestation bundles were made for mkdocs_same_dir-0.1.5-py3-none-any.whl:

Publisher: deploy-release.yml on oprypin/mkdocs-same-dir

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page