Skip to content

Commit 5764dff

Browse files
DOC: show the documentation structure (#248)
* Update pyproduct_library_structure_diag.rst * add authors file * bump 5.11.5 * FIX: links and names --------- Co-authored-by: Jorge Martínez <[email protected]>
1 parent c5eb39e commit 5764dff

File tree

4 files changed

+40
-1
lines changed

4 files changed

+40
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repos:
1414
additional_dependencies: [black==22.12.0]
1515

1616
- repo: https://github.com/pycqa/isort
17-
rev: 5.11.4
17+
rev: 5.12.0
1818
hooks:
1919
- id: isort
2020
args: [
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Authors
2+
3+
## Project Lead or Owner
4+
5+
* [First Last](https://github.com/ghusername)
6+
7+
## Contributors
8+
9+
* [Jane Smith](https://github.com/janesmith)
10+
* [Jim Jones](https://github.com/jimjones)
11+
* [Jack Johnson](https://github.com/jackjohnson)

doc/source/packaging/diag/pyproduct_library_structure_diag.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,18 @@
2323
label="doc", shape="folder"
2424
]
2525

26+
source [
27+
label="source", shape="folder"
28+
]
29+
2630
src [
2731
label="src", shape="folder"
2832
]
2933

34+
conf_file [
35+
label="conf.py", shape="file"
36+
]
37+
3038
ansys [
3139
label="ansys", shape="folder"
3240
]
@@ -47,6 +55,10 @@
4755
label="tests", shape="folder"
4856
]
4957

58+
authors [
59+
label="AUTHORS.md", shape="file"
60+
]
61+
5062
changelog [
5163
label="CHANGELOG.md", shape="file"
5264
]
@@ -79,6 +91,7 @@
7991
pyproduct_library -> doc;
8092
pyproduct_library -> src;
8193
pyproduct_library -> tests;
94+
pyproduct_library -> authors;
8295
pyproduct_library -> license;
8396
pyproduct_library -> changelog;
8497
pyproduct_library -> code_of_conduct;
@@ -87,6 +100,9 @@
87100
pyproduct_library -> pyproject;
88101
pyproduct_library -> setup;
89102

103+
doc -> source;
104+
source -> conf_file;
105+
90106
src -> ansys;
91107
ansys -> product;
92108
product -> library;

doc/source/packaging/structure.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,18 @@ This is the preferred way of naming directories and files inside the
201201
``tests/`` directory.
202202

203203

204+
205+
The ``AUTHORS.md`` file
206+
-----------------------
207+
An ``AUTHORS.md`` file is used to list the authors of the repository. It is
208+
used to credit the authors for their individual contributions and provide a
209+
record of authorship for the codebase. Use your first and last name and provide
210+
a link to your GitHub username.
211+
212+
.. literalinclude:: code/authors_file.md
213+
:language: markdown
214+
215+
204216
The ``CHANGELOG.md`` file
205217
-------------------------
206218

0 commit comments

Comments
 (0)