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.6.0.tar.gz (32.0 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.6.0-py3-none-any.whl (35.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for yardang-0.6.0.tar.gz
Algorithm Hash digest
SHA256 e579c5ae62809e0082bc9aa8eff32720c97c3ba0aedaf87d165ea877b82f0b3b
MD5 db9af20f401a423a95af17784d64033b
BLAKE2b-256 366f216122a8e1d7fa9e4edc7cd8b61766651574128c451fb307a8db68eccec0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for yardang-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f7f14a061dbb4465d5df0e4f5ed76e2b841bd411b6202286fb27263dacd54852
MD5 eddccc127b7ab8dbb90f0fa64fdf07a3
BLAKE2b-256 ead6d88fc4d16a45dd040c4fb219dbeee5cf0bf360f6c17e9b9fb2aa7cbe3e5e

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