Skip to main content

Divio Docs Parser

Collect and parse all your divio-style documentation with just one line of code! This script will scan any files/directories/strings you pass. For example:

  • If you have a how-to section in your README, that'll get extracted and put in the right spot
  • Or, if you have an how-to.md file, it'll get added in its entirety!

How-To

Install from pip

python3 -m pip install divio_docs_parser

Clone & run scripts locally

git clone https://github.com/Denperidge-Redpencil/divio-docs-parser.git
cd divio-docs-gen/
python3 -m src.divio_docs_parser

Run tests

git clone https://github.com/Denperidge-Redpencil/divio-docs-parser.git
cd divio-docs-gen/
python3 -m unittest

Build & install package locally

git clone https://github.com/Denperidge-Redpencil/divio-docs-parser.git
cd divio-docs-gen/
python3 -m pip install --upgrade build setuptools  # If no setuptools dist can be found, try using a higher python version
python3 -m build && python3 -m pip install --force-reinstall ./dist/*.whl

Note: other Python versions can be used!

Explanation

The Divio structure is built upon splitting your documentation into 4 types of documentations. The overview of the divio documentation on their website. In this repository they're referred to as sections.

If you want to know more about the design principles of this project, feel free to check out my writeup here!

Reference

Synonyms

For ease of use and freedom of implementation, every section has synonyms.

Section Synonyms
Tutorials Getting started
How-to Guides How-To, Guide, Usage
Explanation Discussion, background material
Reference Technical

Metadata

Release files for divio-docs-parser 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for divio-docs-parser 0.1.2
File Size Uploaded Provenance Actions
divio_docs_parser-0.1.2.tar.gz 12.5 kB Without provenance Details for divio_docs_parser-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for divio-docs-parser 0.1.2
File Interpreter ABI Platform Actions
divio_docs_parser-0.1.2-py3-none-any.whl Python 3 none any Details for divio_docs_parser-0.1.2-py3-none-any.whl

Total release size: 28.0 kB

Release files / divio_docs_parser-0.1.2.tar.gz

Download URL divio_docs_parser-0.1.2.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e01b3eec4ec5bbcbbc74b0070353d75d5c512c0ca3851929cb504cc17f0e929a
BLAKE2b-256 checksum
How to use checksums
b38ffdbfdf2bfa1e5406dc294727a2155211ef7d774ffa310974c057478445d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Release files / divio_docs_parser-0.1.2-py3-none-any.whl

Download URL divio_docs_parser-0.1.2-py3-none-any.whl
Size 15.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
39b67b0e2c7c1c798ff0625c29e708b069fd723cb3b3e20a842c1aa903ac8149
BLAKE2b-256 checksum
How to use checksums
ea151cd4231a5c916b852ed23e20eea2ba58a0fd979df8ac9cc9ca12f5e7bc2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Security for divio-docs-parser 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page