Skip to main content

Easily generate sphinx documentation

Project description

yardang

yardang

Build Status codecov License PyPI

yardang is a Python library for generating Sphinx documentation easily, with minimal local configuration overhead.

yardang makes building Sphinx easy.

Configuration

Here is yardang's own configuration, in pyproject.toml

[tool.yardang]
root = "docs/src/home.md"
cname = "yardang.python-templates.dev"
pages = [
    "docs/src/overview.md",
    "docs/src/installation.md",
    "docs/src/configuration.md",
]
use-autoapi = true

Installation

You can install from PyPI via pip:

pip install yardang

Or from conda-forge via conda:

conda install yardang -c conda-forge

GitHub Action

A convenient github action is provided to publish documentation automatically in CI.

name: Docs
on:
  push:
    branches: ["main"]
    tags: ["v*"]
  workflow_dispatch:
permissions:
    contents: write
jobs:
  docs:
    runs-on: ubuntu-latest
    steps:
      - uses: actions-ext/yardang@main
        with:
          token: ${{ secrets.GITHUB_TOKEN }}

[!NOTE] This library was generated using copier from the Base Python Project Template repository.

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

yardang-0.5.0.tar.gz (30.8 kB view details)

Uploaded Source

Built Distribution

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

yardang-0.5.0-py3-none-any.whl (34.4 kB view details)

Uploaded Python 3

File details

Details for the file yardang-0.5.0.tar.gz.

File metadata

  • Download URL: yardang-0.5.0.tar.gz
  • Upload date:
  • Size: 30.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for yardang-0.5.0.tar.gz
Algorithm Hash digest
SHA256 8811487ebc7c1e66a0ebff9f3a2c7012e1bda642400972f2a684ba958321ba28
MD5 f4c22111d0b4123f39713f03c9ffce67
BLAKE2b-256 42986aec66a11e466e12260c73c7c17e3eb43e74bbe414962b2c6aa20cd167ee

See more details on using hashes here.

File details

Details for the file yardang-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: yardang-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 34.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for yardang-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aeab48a023549c45feeafbf8bbf2e75c3804f99116ba261e5e4149d27156cc3e
MD5 b2fb5e8586f9d32d42a5aba744f519bf
BLAKE2b-256 fd8da73c174e2ed94f6984a162b8109ff52c9a1100e31124de97af89547e0abe

See more details on using hashes here.

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