Skip to content

Commit fe338c6

Browse files
committed
initial structure for python template best practices documentation
1 parent 60a5860 commit fe338c6

1 file changed

Lines changed: 99 additions & 0 deletions

File tree

pages/source/best-practices.md

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
# Best Practices for Developers
2+
3+
## Template Repositories
4+
5+
### Python Repository Template
6+
7+
#### Purpose of This Template
8+
9+
#### When to Use This Template
10+
11+
#### Creating a New Repository
12+
13+
##### Using GitHub “Use this template”
14+
15+
##### Initial Repository Setup
16+
17+
#### Repository Structure
18+
19+
##### Standard Directory Layout
20+
21+
##### Source Code (`src/`)
22+
23+
##### Tests (`tests/`)
24+
25+
##### Documentation (`docs/`)
26+
27+
#### Customising the Template
28+
29+
##### Project Name and Package Name
30+
31+
##### Author and Organisation Information
32+
33+
##### Licensing
34+
35+
##### Metadata (`pyproject.toml`)
36+
37+
##### README Customisation
38+
39+
#### Development Workflow
40+
41+
##### Setting Up a Local Development Environment
42+
43+
##### Running Tests
44+
45+
##### Linting and Formatting
46+
47+
##### Pre-commit Hooks (if enabled)
48+
49+
#### Continuous Integration
50+
51+
##### GitHub Actions Overview
52+
53+
##### Test Workflows
54+
55+
##### Documentation Build Checks
56+
57+
##### Coverage Reporting
58+
59+
#### Publishing and Releases
60+
61+
##### Versioning Strategy
62+
63+
##### Automated Releases
64+
65+
##### Publishing to PyPI
66+
67+
#### Documentation Infrastructure
68+
69+
##### Sphinx Configuration
70+
71+
##### Read the Docs Integration
72+
73+
##### API Documentation Generation
74+
75+
#### Citation and Research Credit
76+
77+
##### CITATION.cff
78+
79+
##### Zenodo Integration
80+
81+
#### Secrets and Credentials
82+
83+
##### GitHub Actions Secrets
84+
85+
##### PyPI Tokens
86+
87+
##### Read the Docs Webhooks
88+
89+
#### Maintenance and Project Lifecycle
90+
91+
##### Updating Dependencies
92+
93+
##### Managing Releases
94+
95+
##### Long-Term Support Considerations
96+
97+
#### Common Pitfalls
98+
99+
#### Further Resources

0 commit comments

Comments
 (0)