File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 1313 python-version : 3.x
1414
1515 - name : Install docs dependencies
16- run : pip install -r docs/requirements.txt -r requirements.txt
16+ run : pip install -r docs/requirements.txt -e .
1717
1818 - name : Build docs
1919 run : sphinx-build docs docs/_build/html
Original file line number Diff line number Diff line change 33# For the full list of built-in configuration values, see the documentation:
44# https://www.sphinx-doc.org/en/master/usage/configuration.html
55
6- import sys
76import re
87from pathlib import Path
8+ import time
9+ from importlib .metadata import version as get_version
910from sphinx .application import Sphinx
10-
11- sys .path .insert (0 , str (Path (__file__ ).parent .parent ))
12-
13- from cpp_linter .cli import cli_arg_parser # noqa: E402
11+ from cpp_linter .cli import cli_arg_parser
1412
1513# -- Project information -----------------------------------------------------
1614# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
1715project = "cpp-linter"
18- copyright = "2022 , 2bndy5"
16+ copyright = f" { time . localtime (). tm_year } , 2bndy5"
1917author = "2bndy5"
20- release = "2.0.0"
18+ release = get_version ( "cpp-linter" )
2119
2220# -- General configuration ---------------------------------------------------
2321# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
You can’t perform that action at this time.
0 commit comments