Skip to content

Commit 0811ae5

Browse files
authored
Merge pull request #189 from nicolasbock/nicolasbock-patch-1
Update CONTRIBUTING.rst
2 parents 362ffa8 + 8240f3e commit 0811ae5

File tree

8 files changed

+62
-39
lines changed

8 files changed

+62
-39
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
python_version: ${{ matrix.python-version }}
3838

3939
- name: Check out sources
40-
uses: actions/checkout@v2
40+
uses: actions/checkout@v3
4141
with:
4242
fetch-depth: 0
4343

CONTRIBUTING.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Developer Documentation
22
=======================
33

4-
This project supports Python 3.8, 3.9, and 3.10. Other Python versions might
5-
work as well but are not regularly tested.
4+
This project supports Python 3.6, 3.7, 3.8, 3.9, and 3.10. Other Python versions
5+
might work as well but are not regularly tested.
66

77
For locally testing changes it is very handy to install `tox` which automates
88
the creation of Python virtual environments.
@@ -11,6 +11,7 @@ Dependencies
1111
------------
1212

1313
- `docker`
14+
- `fuse`
1415

1516
Setting up a developer environment
1617
----------------------------------

README.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ Usage
4444

4545
We are going to assume that the user has a local git clone of the portage tree in
4646

47-
.. code-block:: bash
47+
.. code-block:: console
4848
4949
/usr/local/git/gentoo
5050
5151
We have added a new ebuild and would like to verify that the build
5252
dependencies are all correct. We can build the package (ATOM) with:
5353

54-
.. code-block:: bash
54+
.. code-block:: console
5555
5656
ebuildtester --portage-dir /usr/local/git/gentoo \
5757
--atom ATOM \
@@ -68,7 +68,7 @@ Command line arguments
6868

6969
The command understands the following command line arguments:
7070

71-
.. code-block:: bash
71+
.. code-block:: console
7272
7373
usage: ebuildtester [-h] [--version] [--atom ATOM [ATOM ...]] [--binhost BINHOST] [--live-ebuild]
7474
[--manual] --portage-dir PORTAGE_DIR [--overlay-dir OVERLAY_DIR] [--update]
@@ -116,3 +116,9 @@ The command understands the following command line arguments:
116116
--docker-image DOCKER_IMAGE
117117
Specify the docker image to use (default = gentoo/stage3)
118118
--pull Download latest docker image
119+
120+
Developer Instructions
121+
----------------------
122+
123+
For more information and how to contribute to this project see the
124+
:doc:`Contributing <contributing>` page.

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
# General information about the project.
5454
project = 'ebuildtester'
55-
copyright = '2018, Nicolas Bock'
55+
copyright = '2018-2022, Nicolas Bock'
5656
author = 'Nicolas Bock'
5757

5858
# The version info for the project you're documenting, acts as replacement for
@@ -69,7 +69,7 @@
6969
#
7070
# This is also used if you do content translation via gettext catalogs.
7171
# Usually you set "language" from the command line for these cases.
72-
language = None
72+
language = 'en'
7373

7474
# List of patterns, relative to source directory, that match files and
7575
# directories to ignore when looking for source files.

docs/contributing.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.. toctree::
2+
:maxdepth: 2
3+
:caption: Contents:
4+
5+
.. include:: ../CONTRIBUTING.rst

docs/ebuildtester.rst

Lines changed: 36 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,51 +4,58 @@ ebuildtester package
44
Submodules
55
----------
66

7-
ebuildtester\.docker module
8-
---------------------------
7+
ebuildtester.atom module
8+
------------------------
9+
10+
.. automodule:: ebuildtester.atom
11+
:members:
12+
:undoc-members:
13+
:show-inheritance:
14+
15+
ebuildtester.docker module
16+
--------------------------
917

1018
.. automodule:: ebuildtester.docker
11-
:members:
12-
:undoc-members:
13-
:show-inheritance:
19+
:members:
20+
:undoc-members:
21+
:show-inheritance:
1422

15-
ebuildtester\.main module
16-
-------------------------
23+
ebuildtester.main module
24+
------------------------
1725

1826
.. automodule:: ebuildtester.main
19-
:members:
20-
:undoc-members:
21-
:show-inheritance:
27+
:members:
28+
:undoc-members:
29+
:show-inheritance:
2230

23-
ebuildtester\.options module
24-
----------------------------
31+
ebuildtester.options module
32+
---------------------------
2533

2634
.. automodule:: ebuildtester.options
27-
:members:
28-
:undoc-members:
29-
:show-inheritance:
35+
:members:
36+
:undoc-members:
37+
:show-inheritance:
3038

31-
ebuildtester\.parse module
32-
--------------------------
39+
ebuildtester.parse module
40+
-------------------------
3341

3442
.. automodule:: ebuildtester.parse
35-
:members:
36-
:undoc-members:
37-
:show-inheritance:
43+
:members:
44+
:undoc-members:
45+
:show-inheritance:
3846

39-
ebuildtester\.utils module
40-
--------------------------
47+
ebuildtester.utils module
48+
-------------------------
4149

4250
.. automodule:: ebuildtester.utils
43-
:members:
44-
:undoc-members:
45-
:show-inheritance:
46-
51+
:members:
52+
:undoc-members:
53+
:show-inheritance:
4754

4855
Module contents
4956
---------------
5057

5158
.. automodule:: ebuildtester
52-
:members:
53-
:undoc-members:
54-
:show-inheritance:
59+
:members:
60+
:undoc-members:
61+
:show-inheritance:

docs/index.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
.. toctree::
22
:maxdepth: 2
3-
:caption: Contents:
3+
:numbered:
4+
5+
../README.rst
6+
contributing.rst
7+
ebuildtester.rst
48

59
.. include:: ../README.rst

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ commands =
1414
[testenv:docs]
1515
commands =
1616
sphinx-apidoc --force --output-dir docs ebuildtester
17+
sphinx-build -M html docs docs/_build
1718
sphinx-build -M doctest docs docs/_build
1819
sphinx-build -M linkcheck docs docs/_build
1920
sphinx-build -M coverage docs docs/_build
20-
sphinx-build -M html docs docs/_build
2121
sphinx-build -M man docs docs/_build
2222

2323
[testenv:bandit]

0 commit comments

Comments
 (0)