generated from coderefinery/documentation-example
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 7c74901
Showing
152 changed files
with
8,720 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: a290ddf1df70aeb0601e021c043d2674 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
|
||
Credit and inspiration | ||
====================== | ||
|
||
Inspired by and derived from https://hpc-carpentry.github.io/hpc-python/ | ||
which is distributed under CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
|
||
Dependencies | ||
============ | ||
|
||
Required | ||
-------- | ||
|
||
- Python | ||
- Numpy | ||
- Matplotlib | ||
|
||
|
||
Optional | ||
-------- | ||
|
||
- Docker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
|
||
|
||
Exercises (documentation lesson) | ||
================================ | ||
|
||
Before you start | ||
---------------- | ||
|
||
- Discuss the exercise idea with the classroom. | ||
- Distribute exercises among groups of 2-3 persons. | ||
- Open a GitHub issue and inform the community about the problem and how you | ||
plan to solve it. Discuss why we do this. | ||
- Fork this project. | ||
- Commit to your fork. In your commit message auto-close the issue you have addressed. | ||
- Submit a pull request. | ||
- We then review the pull requests. | ||
- After the pull requests are merged we verify that documentation updates itself. | ||
|
||
|
||
Basic | ||
----- | ||
|
||
- Document the purpose of this example code. | ||
- Document how to clone the code. | ||
- Describe the project tree structure. | ||
- Write a sentence or two about Zipf's law and link to Wikipedia | ||
(coordinate with the group working on the previous exercise). | ||
- Document how to check the code style with ``pycodestyle``. | ||
- Give other developers hints on how they can contribute to the documentation. | ||
- Document how to build the documentation locally | ||
(coordinate with the group working on the previous exercise). | ||
- Add an example output. | ||
- Add an example plot | ||
(coordinate with the group working on the previous exercise). | ||
- Document where/how to ask for help. | ||
- Add a math equation somewhere. | ||
|
||
|
||
Advanced | ||
-------- | ||
|
||
- Add a test and document how to run it. | ||
- Add the possibility to auto-document Python code. | ||
|
||
|
||
Meta | ||
---- | ||
|
||
- Add new exercises ideas for future workshops (edit this file). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
.. this is a comment, it is not rendered | ||
when adding new *.rst files, reference them here | ||
in this index.rst for them to be rendered and added to the | ||
table of contents | ||
Basics | ||
========== | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
purpose.rst | ||
dependencies.rst | ||
usage.rst | ||
credit.rst | ||
exercises.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
|
||
|
||
Purpose | ||
======= | ||
|
||
Write me ... | ||
|
||
|
||
Basics | ||
---------- | ||
|
||
Write me ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
|
||
Usage | ||
===== | ||
|
||
|
||
How to clone the code | ||
--------------------- | ||
|
||
Write me ... | ||
|
||
|
||
|
||
Where to find the results | ||
------------------------- | ||
|
||
Write me ... |
Oops, something went wrong.