docs: update cover, title, and copyright.

This commit is contained in:
Catherine 2024-01-17 17:49:50 +00:00
parent ae36b596bb
commit 6211eca4ac
3 changed files with 10 additions and 6 deletions

View file

@ -70,7 +70,7 @@ jobs:
- name: Set up PDM - name: Set up PDM
uses: pdm-project/setup-pdm@v3 uses: pdm-project/setup-pdm@v3
with: with:
python-version: '3.11' python-version: '3.12'
- name: Install dependencies - name: Install dependencies
run: | run: |
pdm install --dev pdm install --dev

View file

@ -1,12 +1,13 @@
import os, sys import os, sys
sys.path.insert(0, os.path.abspath(".")) sys.path.insert(0, os.path.abspath("."))
import time
import amaranth import amaranth
project = "Amaranth HDL toolchain" project = "Amaranth language & toolchain"
version = amaranth.__version__.replace(".editable", "") version = amaranth.__version__.replace(".editable", "")
release = version.split("+")[0] release = version.split("+")[0]
copyright = "2020—2023, Amaranth HDL developers" copyright = time.strftime("2020—%Y, Amaranth project contributors")
extensions = [ extensions = [
"sphinx.ext.intersphinx", "sphinx.ext.intersphinx",

View file

@ -1,8 +1,11 @@
Amaranth HDL documentation .. This page is loaded if you click on the Amaranth logo.
##########################
Amaranth project documentation
##############################
.. toctree:: .. toctree::
:maxdepth: 1 :maxdepth: 1
index index
Board definitions <https://amaranth-lang.org/docs/amaranth-boards/latest/> Standard I/O components <https://amaranth-lang.org/docs/amaranth-stdio/latest/>
System on Chip toolkit <https://amaranth-lang.org/docs/amaranth-soc/latest/>