Skip to content

Commit af90b7d

Browse files
committed
Extend 'how to contribute' guidelines.
1 parent 326dd82 commit af90b7d

File tree

3 files changed

+120
-11
lines changed

3 files changed

+120
-11
lines changed

CONTRIBUTING.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
How to contribute
2+
=================
3+
4+
If you want to help out with Cadabra, or think you can contribute a
5+
useful add-on package or perhaps just a sample notebook or a bit of
6+
documentation, you are more than welcome! Even just dropping us a
7+
note with some details about what computations you do with Cadabra
8+
is a useful contribution, and helps to get a better idea of what
9+
people expect from the software.
10+
11+
Below are some tips on how to get started contributing to Cadabra. For
12+
any questions, please post in the [questions and answers][1] forum or
13+
get in touch directly via [email][2]
14+
15+
16+
Get familiar with the software
17+
------------------------------
18+
19+
The first thing to do is to get familiar with how the software works,
20+
by playing with the [tutorials][3] Details of the software, including
21+
some of the logic that is behind its inner workings, are described in
22+
the [reference guide][4], and documentation is available separately
23+
for all [properties and algorithms][5]. If you get stuck, do not
24+
hesitate to post a question on the [questions and answers][1] site. If
25+
you want to contribute at the level of the C++ core, or if you are
26+
simply interested in how things work behind the scenes, you will find
27+
the [doxygen][6] documentation useful.
28+
29+
30+
Identify something to work on
31+
-----------------------------
32+
33+
Most likely you will have used (or will have tried to use) Cadabra for
34+
a concrete project, and found that you see room for improvement. This
35+
can be as simple as reporting a bug, perhaps even fixing it, or adding
36+
a tutorial or other documentation, providing add-on functionality in
37+
the form of packages, or helping with the core. We are also always
38+
interested to hear about issues installing Cadabra on new systems.
39+
40+
41+
Setup your development environment
42+
----------------------------------
43+
44+
Contributions in any form are welcome, but if you want to submit
45+
substantial code contributions, it is useful to get familiar with the
46+
git version control system. This is used to track software changes
47+
over time and to effectively manage contributions from different
48+
authors. We also utilise [github][7], a web interface to git,
49+
extensively and use it for communication, issue tracking, merging
50+
patches (pull requests) and so on. Check out the source code from
51+
there and follow the instructions on how to build it.
52+
53+
54+
[1] https://cadabra.science/qa/
55+
56+
[3] https://cadabra.science/tutorials.html
57+
[4] https://cadabra.science/help.html
58+
[5] https://cadabra.science/man.html
59+
[6] https://cadabra.science/doxygen/html/
60+
[7] https://github.com/kpeeters/cadabra2

web2/cadabra2/source/developers.html

Lines changed: 58 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,74 @@
66

77
{% block main %}
88

9-
<h1>Developers</h1>
9+
<h1>How to contribute</h1>
1010
<p>
1111
If you want to help out with Cadabra, or think you can contribute a
12-
useful add-on package or perhaps even just a sample notebook, please
13-
get in touch at <a href="mailto:[email protected]">[email protected]</a>.
12+
useful add-on package or perhaps just a sample notebook or a bit of
13+
documentation, you are more than welcome! Even just dropping us a
14+
note with some details about what computations you do with Cadabra
15+
is a useful contribution, and helps to get a better idea of what
16+
people expect from the software.
17+
</p>
18+
<p>
19+
Below are some tips on how to get started contributing to
20+
Cadabra. For any questions, please post in
21+
the <a href="/qa">questions&amp;answers</a> forum or get in touch
22+
directly via email
23+
at <a href="mailto:[email protected]">[email protected]</a>.
24+
</p>
25+
<h2>Get familiar with the software</h2>
26+
<p>
27+
The first thing to do is to get familiar with how the software works,
28+
by playing with the <a href="/tutorials.html">tutorials</a>. Details
29+
of the software, including some of the logic that is behind its
30+
inner workings, are described in the <a href="/help.html">reference
31+
guide</a>, and documentation is available separately for all
32+
<a href="/man.html">properties and algorithms</a>. If you get
33+
stuck, do not hesitate to post a question on
34+
the <a href="/qa">questions&amp;answers</a> site. If you want to
35+
contribute at the level of the C++ core, or if you are simply
36+
interested in how things work behind the scenes, you will find the
37+
<a href="/doxygen/html/">doxygen</a> documentation useful.
38+
</p>
39+
40+
<h2>Identify something to work on</h2>
41+
<p>
42+
Most likely you will have used (or will have tried to use) Cadabra
43+
for a concrete project, and found that you see room for
44+
improvement. This can be as simple as reporting a bug, perhaps even
45+
fixing it, or adding a tutorial or other documentation, providing
46+
add-on functionality in the form of packages, or helping with the
47+
core. We are also always interested to hear about issues installing
48+
Cadabra on new systems.
49+
</p>
50+
51+
<h2>Setup your development environment</h2>
52+
<p>
53+
Contributions in any form are welcome, but if you want to submit
54+
substantial code contributions, it is useful to get familiar with
55+
the git version control system. This is used to track software
56+
changes over time and to effectively manage contributions from
57+
different authors. We also
58+
utilise <a href="https://github.com/kpeeters/cadabra2">github</a>, a
59+
web interface to git, extensively and use it for communication,
60+
issue tracking, merging patches (pull requests) and so on. Check out
61+
the source code from there and follow the instructions on how to
62+
build it.
1463
</p>
1564

1665
<h1>Source code documentation</h1>
1766
<p>
1867
The source code is documented in quite some detail and the resulting
19-
<a href="https://cadabra.science/doxygen/html/index.html">Cadabra
20-
doxygen documentation</a> is worth consulting if you want to become
21-
a developer. This is automatically generated from the latest status
22-
of the master branch on github.
68+
<a href="/doxygen/html/">Cadabra doxygen documentation</a> is worth
69+
consulting if you want to become a developer. This is automatically
70+
generated from the latest status of the master branch on github.
2371
</p>
2472
<p>
2573
You can also generate this doxygen tree yourself in your own working
26-
copy by running <code>doxygen</code> in the project root. The
27-
documentation then ends up in the <code>doxygen/html</code> folder.
74+
copy by running <code>make doc</code> in the project root (not
75+
the <code>build</code> folder). The documentation then ends up in
76+
the <code>doxygen/html</code> folder.
2877
</p>
2978

3079

web2/cadabra2/source/layout.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@
145145
<hr/>
146146
<a href="/developers.html">
147147
<div class="icon_background" >
148-
<img src="/static/icons/puzzle.png" alt="[developers]" />
148+
<img src="/static/icons/puzzle.png" alt="[contribute]" />
149149
<div class="icon_text">
150-
Developers
150+
Contribute
151151
</div>
152152
</div>
153153
</a>

0 commit comments

Comments
 (0)