The docbuilder for all 'official' clearskies plugins (as well as the main clearskies docs)
Project description
docs
The documentation builder for clearskies and related plugins
Overview
Each "official" clearskies module (including the core clearskies library itself) has the documentation primarily written in the codebase as docblocks. The documentation site is then built by extracting these docblocks and stitching them together. To be clear, this isn't about the low-level "API" documentation that describes every single class/method in the framework. Rather, this is about the primary documentation site itself (clearskies.info) which is focused on high-level use cases and examples of the primary configuration options. As a result, it's not a simple matter of just iterating over the classes/methods and building documentation. To build a coherent documentation site, each plugin has a configuration file that basically outlines the final "structure" or organization of the resulting documentation, as well as the name of a builder class that will combine that configuration information with the codebase itself to create the actual docs.
The docs themselves (in the source code) are all written with markdown. This documentation builder then takes that markdwon and adds the necessary headers/etc so to make them valid files for Jekyll, the builder for the current documentation site. The site itself is hosted in S3, so building an actual documentation site means:
- Properly documenting everything inside of the source code via markdown.
- Creating a config file (
docs/python/config.json) to map source code docs to Jekyll files. - Creating a skeleton of a Jekyll site in the
doc/jekyllfolder of the plugin. - Installing this doc builder via
poetry add clear-skies-doc-builder. - Run the doc builder.
- Build with Jekyll.
- Push to the appropriate subfolder via S3.
- (Only once) Update the main clearskies doc site to know about the new subfolder for this plugin.
Of course, we want the Jekyll sites to be consistent with eachother in terms of style/look. In the long run we'll probably have this doc builder also bootstrap the Jekyll site, but for now you just have to manually setup the Jekyll build using the main clearskies repo as a template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clear_skies_doc_builder-2.0.2.tar.gz.
File metadata
- Download URL: clear_skies_doc_builder-2.0.2.tar.gz
- Upload date:
- Size: 59.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1090df1d323890a582087f2b42ba81dc1e97d209eeb4ccf5bbfb0db1214832bf
|
|
| MD5 |
6143f965d2acd9c1b5c18a279d39be1f
|
|
| BLAKE2b-256 |
4d88c068b7a489017c4a88e38db6aa56f0d5b405dd65037ba0864d5b8a912a12
|
File details
Details for the file clear_skies_doc_builder-2.0.2-py3-none-any.whl.
File metadata
- Download URL: clear_skies_doc_builder-2.0.2-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75b3435712ea7b845133c743796d7ed41653f2c78d2175f67ffcc1003a94c3d7
|
|
| MD5 |
5053ae817b95cabe4b12f0c2d4c35504
|
|
| BLAKE2b-256 |
8484a82684792f17bed6d8e29715587cd41c153b23c9512117dd7c45414f466f
|