You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.rst
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,7 @@ For other questions, discussions, and chats, we have:
56
56
57
57
- a mailing list at `sourceforge <https://lists.sourceforge.net/lists/listinfo/aboutcode-discuss>`_
58
58
59
+
- a Gitter channel to discuss Documentation at https://gitter.im/aboutcode-org/gsod-season-of-docs
59
60
60
61
Bug reports
61
62
===========
@@ -77,10 +78,16 @@ When `reporting a bug`__ please include:
77
78
Documentation improvements
78
79
==========================
79
80
80
-
Documentation can come in the form of wiki pages, docstrings, blog posts,
81
-
articles, etc. Even a minor typo fix is welcomed.
82
-
See also extra documentation on the `Wiki <https://github.com/nexB/scancode-toolkit/wiki>`_.
81
+
Documentation can come in the form of new documentation pages/sections, tutorials/how-to documents,
82
+
any other general upgrades, etc. Even a minor typo fix is welcomed.
83
83
84
+
If something is missing in the documentation or if you found some part confusing,
85
+
please file an issue with your suggestions for improvement. Use the “Documentation Improvement”
86
+
template. Your help and contributions makes ScanCode docs better, we love hearing from you!
87
+
88
+
The ScanCode documentation is hosted at `scancode-toolkit.readthedocs.io <https://scancode-toolkit.readthedocs.io/en/latest/>`_.
89
+
90
+
If you want to contribute to Scancode Dcoumentation, you'll find `this guide here <https://scancode-toolkit.readthedocs.io/en/latest/contribute/contrib_doc.html>`_ helpful.
- For MacOS: Install Python 3.6.8 from https://www.python.org/ftp/python/3.6.8/python-3.6.8-macosx10.6.pkg
19
+
- For Windows: Install Python 3.6.8 from https://www.python.org/ftp/python/3.6.8/python-3.6.8.exe
20
+
21
+
Refer `Prerequisites <https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html#prerequisites>`_ for detailed information on all different platforms and Python Versions.
22
+
23
+
Installation as an Application : Downloading Releases
#. You can jump to any checkpoint/Branch/Commit using the following command::
53
+
54
+
git checkout master
55
+
56
+
#. Run the Configure Script
57
+
58
+
- On Linux/Mac: ``./configure``
59
+
- On Windows: ``configure``
60
+
61
+
62
+
Note the `Commands will vary <https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html#commands-variation>`_ across different Installation methods and Platforms.
63
+
64
+
If this displays the `Help Text <https://scancode-toolkit.readthedocs.io/en/latest/cli-reference/help-text-options.html#help-text>`_, you are all set to start using ScanCode.
- A `Synopsis <https://scancode-toolkit.readthedocs.io/en/latest/cli-reference/synopsis.html>`_ of ScanCode Command Line Options
78
+
- Tutorials on `How to Run a Scan <https://scancode-toolkit.readthedocs.io/en/latest/tutorials/how_to_run_a_scan.html>`_ and `How to Visualize Scan results <https://scancode-toolkit.readthedocs.io/en/latest/tutorials/how_to_visualize_scan_results.html>`_
79
+
- An exhaustive List of `All Available Options <https://scancode-toolkit.readthedocs.io/en/latest/cli-reference/list-options.html>`_
80
+
- Documentation on `Contributing to Code Development <https://scancode-toolkit.readthedocs.io/en/latest/contribute/contrib_dev.html>`_
81
+
- Documentation on `Plugin Architecture <https://scancode-toolkit.readthedocs.io/en/latest/plugins/plugin_arch.html>`_
Before installing ScanCode make sure you've installed the prerequisites properly. This mainly
91
+
refers to installing the required Python interpreter (Python 3.6 is recommended). Refer
92
+
`Prerequisites <https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html#prerequisites>`_ for detailed information on all different platforms and Python Versions.
99
93
100
-
Next, download and extract the latest ScanCode release from
There are 3 main ways you can `install ScanCode <https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html>`_.
102
95
96
+
- `Installation as an Application: Downloading Releases <https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html#installation-as-an-application-downloading-releases>`_ *(Recommended)*
97
+
- `Installation from Source Code: Git Clone <https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html#installation-from-source-code-git-clone>`_
98
+
- `Installation as a library: via pip <https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html#pip-install>`_
103
99
104
-
Open a terminal window and then `cd` to the extracted ScanCode directory and run
105
-
this command to display help. ScanCode will self-configure if needed::
100
+
Quick Start
101
+
===========
106
102
107
-
./scancode --help
103
+
Note the `Commands Variation <https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html#commands-variation>`_ across Installation methods and Platforms.
108
104
109
105
You can run an example scan printed on screen as JSON::
110
106
111
107
./scancode -clip --json-pp - samples
112
108
109
+
Follow the `How to Run a Scan <https://scancode-toolkit.readthedocs.io/en/latest/tutorials/how_to_run_a_scan.html>`_ Tutorial
110
+
to perform a basic scan on the ``samples`` directory distributed by default with Scancode.
111
+
113
112
See more command examples::
114
113
115
114
./scancode --examples
116
115
116
+
Refer `How to set what will be detected in Scan <https://scancode-toolkit.readthedocs.io/en/latest/tutorials/how_to_set_what_will_be_detected_in_a_scan.html>`_
117
+
and `How to specify Scancode Output Format <https://scancode-toolkit.readthedocs.io/en/latest/tutorials/how_to_format_scan_output.html>`_ for more information.
118
+
119
+
You can also refer to `Command Line Options Synopsis <https://scancode-toolkit.readthedocs.io/en/latest/cli-reference/synopsis.html>`_ and an exhaustive List of `All Available Options <https://scancode-toolkit.readthedocs.io/en/latest/cli-reference/list-options.html>`_.
117
120
118
121
Archive extraction
119
-
===================
122
+
==================
120
123
121
124
The archives that exist in a codebase must be extracted before running a scan:
122
125
ScanCode does not extract files from tarballs, zip files, etc. as part of the
@@ -126,14 +129,7 @@ the mytar.tar.bz2-extract directory::
126
129
127
130
./extractcode mytar.tar.bz2
128
131
129
-
130
-
Documentation & FAQ
131
-
===================
132
-
133
-
https://github.com/nexB/scancode-toolkit/wiki
134
-
135
-
See also https://aboutcode.org for related companion projects and tools.
136
-
132
+
Refer `All Extractcode Options <https://scancode-toolkit.readthedocs.io/en/latest/cli-reference/list-options.html#all-extractcode-options>`_ and `How To Extract Archives <https://scancode-toolkit.readthedocs.io/en/latest/tutorials/how_to_extract_archives.html>`_ for more information.
137
133
138
134
Support
139
135
=======
@@ -151,6 +147,7 @@ For discussions and chats, we have:
151
147
You can use your favorite IRC client or use the web chat at
152
148
https://webchat.freenode.net/
153
149
150
+
* a Gitter channel to discuss Documentation at https://gitter.im/aboutcode-org/gsod-season-of-docs
154
151
155
152
Source code and downloads
156
153
=========================
@@ -192,3 +189,7 @@ the third-party code used in ScanCode for more details.
0 commit comments