Skip to content

Commit 93efc32

Browse files
committed
docs: updated contribution info
1 parent f053de3 commit 93efc32

File tree

3 files changed

+32
-7
lines changed

3 files changed

+32
-7
lines changed

CONTRIBUTING.md

+16-2
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,28 @@ There are many ways to contribute, you could:
1515
* Write tutorials or blog posts
1616
* Write code
1717

18+
1819
## Submitting changes
1920

2021
Please send a [GitHub Pull Request to trafilatura](https://github.com/adbar/trafilatura/pull/new/master) with a clear list of what you've done (read more about [pull requests](http://help.github.com/pull-requests/)).
2122

2223
**Working on your first Pull Request?** See this tutorial: [How To Create a Pull Request on GitHub](https://www.digitalocean.com/community/tutorials/how-to-create-a-pull-request-on-github)
2324

24-
For further questions you can contact me by way of [GitHub issues](https://github.com/adbar/trafilatura/issues), [Twitter](https://twitter.com/adbarbaresi) or [E-Mail](http://adrien.barbaresi.eu/).
25+
26+
27+
## Testing and evaluating the code
28+
29+
Here is how you can run the tests if you wish to correct the errors and further improve the code:
30+
31+
- Run `pytest` from trafilatura's directory, or select a particular test suite, for example `realworld_tests.py`, and run `pytest realworld_tests.py` or simply `python3 realworld_tests.py`
32+
- Check how it performs on the benchmark in `tests/eval/` by running `tests/comparison.py`
33+
34+
See also the [tests Readme](tests/README.rst) for more information on the evaluation.
35+
36+
37+
38+
For further questions you can contact me by way of [GitHub issues](https://github.com/adbar/trafilatura/issues), [Twitter](https://twitter.com/adbarbaresi) or [E-Mail](https://adrien.barbaresi.eu/).
2539

2640
Thanks,
2741

28-
Adrien
42+
Adrien

README.rst

+1-3
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Context
132132
Contributing
133133
~~~~~~~~~~~~
134134

135-
`Contributions <https://github.com/adbar/trafilatura/blob/master/CONTRIBUTING.md>`_ are welcome! Please also feel free to file issues on the `dedicated page <https://github.com/adbar/trafilatura/issues>`_.
135+
Contributions are welcome! See `CONTRIBUTING.md <https://github.com/adbar/trafilatura/blob/master/CONTRIBUTING.md>`_ for more information. Bug reports can be filed on the `dedicated page <https://github.com/adbar/trafilatura/issues>`_.
136136

137137
Many thanks to the `contributors <https://github.com/adbar/trafilatura/graphs/contributors>`_ who submitted features and bugfixes!
138138

@@ -171,8 +171,6 @@ This effort is part of methods to derive information from web documents in order
171171
172172
You can contact me via my `contact page <https://adrien.barbaresi.eu/>`_ or `GitHub <https://github.com/adbar>`_.
173173

174-
To have a chat about the software feel free to `book a 15 min slot <https://calendly.com/adbarba/15min>`_ for video-conferencing.
175-
176174

177175
Software
178176
~~~~~~~~

docs/index.rst

+15-2
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,21 @@ Context
145145
These documentation pages also provides information on concepts behind data collection as well as practical tips on how to gather web texts (see `tutorials <tutorials.html>`_).
146146

147147

148+
149+
Contributing
150+
~~~~~~~~~~~~
151+
152+
Contributions are welcome! See `CONTRIBUTING.md <https://github.com/adbar/trafilatura/blob/master/CONTRIBUTING.md>`_ for more information. Bug reports can be filed on the `dedicated page <https://github.com/adbar/trafilatura/issues>`_.
153+
154+
Many thanks to the `contributors <https://github.com/adbar/trafilatura/graphs/contributors>`_ who submitted features and bugfixes!
155+
156+
157+
Roadmap
158+
~~~~~~~
159+
160+
For planned enhancements and relevant milestones see `issues page <https://github.com/adbar/trafilatura/milestones>`_.
161+
162+
148163
Author
149164
~~~~~~
150165

@@ -173,8 +188,6 @@ This effort is part of methods to derive information from web documents in order
173188
174189
You can contact me via my `contact page <https://adrien.barbaresi.eu/>`_ or `GitHub <https://github.com/adbar>`_.
175190

176-
To have a chat about the software feel free to `book a 15 min slot <https://calendly.com/adbarba/15min>`_ for video-conferencing.
177-
178191

179192
Software
180193
~~~~~~~~

0 commit comments

Comments
 (0)