Skip to main content

Analog Devices Doctools

Analog Devices Inc. central repository to host tooling for automated documentation builds. It includes Sphinx extensions, themes, and tools for multiple repositories in the organization.

All tools, directives and roles are documented in this repository documentation.

Guarantee to work with Python newer than 3.8 and distros released on or after 20H1 (e.g. Ubuntu 20.04 LTS).

Release install

Ensure pip is newer than 23.0 [1]:

pip install pip --upgrade

Install the documentation tools, which will fetch this repository release:

(cd docs ; pip install -r requirements.txt)

Build the documentation with Sphinx:

(cd docs ; make html)

The generated documentation will be available at docs/_build/html and it provides information about the adoc command line tool and general documentation guidelines.

In summary, the serve allows to live reload the documentation when editing the docs, and aggregate to generate an aggregated documentation of the multiple repositories.

[1] There is a known bug with pip shipped with Ubuntu 22.04

Using a Python virtual environment

Installing packages at user level through pip is not always recommended, instead, consider using a Python virtual environment (python3-venv on ubuntu 22.04). To create and activate the environment, do before the previous instructions:

python3 -m venv ./venv
source ./venv/bin/activate

Use deactivate to exit the virtual environment.

For next builds, just activate the virtual environment:

source ./venv/bin/activate

Development install

Development mode allows to edit the source code and apply the changes without reinstalling. Also extends Author Mode to watch changes on the webpage source code (use --dev/-r option to enable this).

Install the web compiler

If you care about the web scripts (js modules) and style sheets (sass), install npm first, if not, just skip this section.

NOTE: If the npm provided by your package manager is too old and updating with npm install npm -g fails, consider installing with NodeSource.

At the repository root, install the npm dependencies locally:

npm install rollup \
    @rollup/plugin-terser \
    sass \
    --save-dev

Fetch third-party resources

Fetch third-party fonts:

./ci/fetch-fonts.sh

Install the repository

Finally, do a symbolic install of this repo:

pip install -e . --upgrade

Removing

To remove, either release or development, do:

pip uninstall adi-doctools

Metadata

Release files for adi-doctools 0.5.5

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

Source distribution (sdist)

Source distribution for adi-doctools 0.5.5
File Size Uploaded Provenance Actions
adi_doctools-0.5.5.tar.gz 1.1 MB Without provenance Details for adi_doctools-0.5.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for adi-doctools 0.5.5
File Interpreter ABI Platform Actions
adi_doctools-0.5.5-py3-none-any.whl Python 3 none any Details for adi_doctools-0.5.5-py3-none-any.whl

Total release size: 2.2 MB

Release files / adi_doctools-0.5.5.tar.gz

Download URL adi_doctools-0.5.5.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
de255f1680a752e5c4c17fa4e7b51670efb28af68c5632d43afe6542b3830c2b
BLAKE2b-256 checksum
How to use checksums
7938e8006b00245123d280031b75888fcf5c1e8f3927686f6d118062e9a7b67f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Release files / adi_doctools-0.5.5-py3-none-any.whl

Download URL adi_doctools-0.5.5-py3-none-any.whl
Size 1.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
dd549c94f007947546368a35b75b0911c0ae6baf341795ef63acecced923628d
BLAKE2b-256 checksum
How to use checksums
f9665633f1af3560ccf261a0c8b5b467a3d47f66f457dbc499bff86573d8a21f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for adi-doctools 0.5.5

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