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.3.2.tar.gz (12.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.3.2-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yardang-0.3.2.tar.gz
  • Upload date:
  • Size: 12.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.3.2.tar.gz
Algorithm Hash digest
SHA256 df2184b4241cf5b8e3f77150675f8c94dce4d14e492be396358b3232fe5a85a7
MD5 c1332edab9d36293879a303b9ccb2e94
BLAKE2b-256 eb09555e0e9b41eb2822da9568ed9d06279ffbb16660e1a46eec57547dac9d46

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yardang-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 13.7 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.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d54952785a2c7396a695cc24d8a760c1c7a154fb322e636406784cdad6474185
MD5 638a4e5d64d792ae9a60c8df179257fb
BLAKE2b-256 2c32ddfe660f962ee2e239aa4f774dda66313e108beeaddd11918061497271a0

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