Skip to main content

Quickdocs

Creates HTML docs from a project's readme and sphinx-apidoc.

Status

Source Shields
Project release license lines languages
Health codacy readthedocs travis codacy_coverage
Repository issues issues_closed pulls pulls_closed
Publishers pypi python_versions pypi_downloads
Activity contributors monthly_commits last_commit

Installation

pip install quickdocs

Usage

To create an up to date sphinx configuration:

quickdocs .quickdocs.yml

Now we can build the documentation:

sphinx-build -E docs build

This will run copy and markup the project's readme at runtime so that you don't need to recompile the sphinx configuration unless any of the settings change.

Required settings file fields:

project: Quickdocs
version: 1.2.1
author: Joel Lefkowitz
html_title: Quickdocs
github_url: JoelLefkowitz/quickdocs

Optional settings:

debug: # Default: False
project_root: # Default: os.getcwd()
verbose_name: # Default: None
markup_readme: # Default: True
readme_path: # Default: "README.md"
apidoc_module_dir: # Default: None

Integrating with readthedocs

.readthedocs.yml:

version: 2

sphinx:
  configuration: docs/conf.py

formats: all

python:
  version: 3.8
  install:
    - requirements: docs/requirements.txt

Removing old documentation

The sphinx-apidoc plugin generates documentation under docs/api. When running, the sphinx plugin will overwrite but not delete out of date files in this directory. This means if you rename a module you must delete the out of date documentation. This package should not delete the docs/api directory because some developers will add custom documentation to this directory as they write new modules.

Tests

To run unit tests and generate a coverage report:

grunt tests:unit

Documentation

This repository's documentation is hosted on readthedocs.

To generate the sphinx configuration:

grunt docs:generate

Then build the documentation:

grunt docs:build

Tooling

To run linters:

grunt lint

To run formatters:

grunt format

Before committing new code:

grunt precommit

This will run linters, formatters, tests, generate a test coverage report and the sphinx configuration.

Continuous integration

This repository uses Travis CI to build and test each commit. Formatting tasks and writing documentation must be done before committing new code.

Versioning

This repository adheres to semantic versioning standards. For more information on semantic versioning visit SemVer.

Bump2version is used to version and tag changes. For example:

bump2version patch

Changelog

Please read this repository's CHANGELOG for details on changes that have been made.

Contributing

Please read this repository's guidelines on CONTRIBUTING for details on our code of conduct and the process for submitting pull requests.

Contributors

Buy Me A Coffee

Remarks

Lots of love to the open source community!

Be kind

Metadata

Release files for quickdocs 1.6.3

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

Source distribution (sdist)

Source distribution for quickdocs 1.6.3
File Size Uploaded
quickdocs-1.6.3.tar.gz 14.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for quickdocs 1.6.3
File Interpreter ABI Platform
quickdocs-1.6.3-py3-none-any.whl Python 3 none any Details

Total release size: 29.9 kB

Release files / quickdocs-1.6.3.tar.gz

Download URL quickdocs-1.6.3.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2d8a9ea30d62f1079a7acefd231acdae4a9ed734f2c4a00ebc2ab780e965e11c
BLAKE2b-256 checksum
How to use checksums
6c29e53c8a4322811d78aca78b04267dbb46ddee8916935433db0ac0d24acbf8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.2 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.7

Release files / quickdocs-1.6.3-py3-none-any.whl

Download URL quickdocs-1.6.3-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
113cb5f49b3edd3c1811d26e18079b279b0d52b6d672921c8cb0a02b8fe2b798
BLAKE2b-256 checksum
How to use checksums
01c4dbc9ad984dfe815f1eabcb45f9822d6a05244d8ca98009cb6bf2855bc35c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.2 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.7

Release history Release notifications | RSS feed

This release

1.6.3 This release

2 release files

1.6.2

2 release files

1.5.1

2 release files

1.4.0

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

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