File tree Expand file tree Collapse file tree 3 files changed +31
-12
lines changed Expand file tree Collapse file tree 3 files changed +31
-12
lines changed Original file line number Diff line number Diff line change 1+ # Python version can be specified with `$ PYTHON_EXE=python3.x make ...`
2+ PYTHON_EXE? =python3
3+ VENV_LOCATION =venv
4+ ACTIVATE? =. ${VENV_LOCATION}/bin/activate;
5+
6+ conf :
7+ @echo " -> Install dependencies"
8+ ./configure --docs
9+
10+ docs : conf
11+ rm -rf docs/build/
12+ @${ACTIVATE} sphinx-build docs/source docs/build/
13+
14+ clean :
15+ @echo " -> Clean the Python env"
16+ rm -rf .venv/ .* cache/ * .egg-info/ build/ dist/
17+ find . -type f -name ' *.py[co]' -delete -o -type d -name __pycache__ -delete
18+
19+ .PHONY : conf docs clean
Original file line number Diff line number Diff line change @@ -17,17 +17,22 @@ is vulnerable should be a problem of the past such that everyone can safely
1717consume more free and open source software. We support not only open source
1818software, but also open data, generated and curated by our applications.
1919
20- > ** _ NOTE:_ ** This is a repository with information on aboutcode open source
20+ > [ !NOTE]
21+ > This is a repository with information on aboutcode open source
2122> activities and not the actual code repository. See the
2223> [ projects section] ( https://github.com/aboutcode-org/aboutcode#projects ) below
2324> for links to all the code repositories of our projects with a brief overview
2425> and our [ wiki] ( https://github.com/aboutcode-org/aboutcode/wiki ) if you are
2526> looking to participate.
2627
27- ### Documentation Build Status
28+ ### Documentation Build
2829
2930![ Doc Build] ( https://github.com/aboutcode-org/aboutcode/actions/workflows/docs-ci.yml/badge.svg )
3031
32+ > [ !NOTE]
33+ > To manually build the documentation, run the ` $ make docs ` command from
34+ > the root of this repo.
35+
3136### Important Links
3237
3338Our homepage is at http://aboutcode.org
Original file line number Diff line number Diff line change @@ -28,22 +28,17 @@ license_files =
2828
2929[options]
3030zip_safe = false
31-
3231setup_requires = setuptools_scm[toml] >= 4
33-
3432python_requires = >=3.7
35-
3633install_requires =
3734
3835
3936[options.extras_require]
40-
4137docs =
42- Sphinx == 5.1.0
43- sphinx-rtd-theme >= 0.5.0
44- sphinx-reredirects >= 0.1.2
45- doc8 >= 0.8.1
38+ Sphinx
39+ sphinx-rtd-theme
40+ sphinx-reredirects
41+ doc8
4642 sphinx-autobuild
47- sphinx-rtd-dark-mode>=1.3.0
43+ sphinx-rtd-dark-mode
4844 sphinx-copybutton
49-
You can’t perform that action at this time.
0 commit comments