@@ -70,13 +70,12 @@ Support
7070=======
7171
7272If you have a question, a suggestion or find a bug, enter a ticket at:
73-
74- https://github.com/nexB/scancode-toolkit/issues
73+ https://github.com/nexB/scancode-toolkit/issues
7574
7675Documentation
7776=============
7877
79- https://github.com/nexB/scancode-toolkit/wiki
78+ https://github.com/nexB/scancode-toolkit/wiki
8079
8180
8281Basic Usage
@@ -105,8 +104,8 @@ Make sure Python 2.7 is installed first.
105104System Requirements
106105-------------------
107106
108- Hardware:
109- ScanCode will run best with a modern X86 processor and at least 2GB or Ram and 250MB of disk.
107+ Hardware:
108+ ScanCode will run best with a modern X86 processor and at least 2GB or Ram and 250MB of disk.
110109
111110Supported operating Systems. ScanCode should run:
112111
@@ -116,36 +115,34 @@ Supported operating Systems. ScanCode should run:
116115
117116On Linux:
118117
119- Use your package manager to install python2.7.
120- If Python 2.7 is not available from your package manager, you must comile it from sources.
118+ Use your package manager to install python2.7.
119+ If Python 2.7 is not available from your package manager, you must compile it from sources.
121120
122- For instance, visit https://github.com/dejacode/about-code-tool/wiki/BuildingPython27OnCentos
123- for instruction to compile Python from sources on Centos.
121+ For instance, visit https://github.com/dejacode/about-code-tool/wiki/BuildingPython27OnCentos
122+ for instruction to compile Python from sources on Centos.
124123
125124On Windows:
126125
127- ScanCode requires the Python 2.7 (Windows x86 MSI installer)
128- for X86 regardless of whether you run 32-bit or 64-bit Windows.
129- DO NOT USE Python X86_64 even if you run 64 bit Windows.
130- Download Python from this url:
131-
132- https://www.python.org/ftp/python/2.7.10/python-2.7.10.msi
126+ ScanCode requires the Python 2.7 (Windows x86 MSI installer)
127+ for X86 regardless of whether you run 32-bit or 64-bit Windows.
128+ DO NOT USE Python X86_64 even if you run 64 bit Windows.
129+ Download Python from this url:
130+ https://www.python.org/ftp/python/2.7.10/python-2.7.10.msi
133131
134- Install Python on the c: drive and use all default installer options.
132+ Install Python on the c: drive and use all default installer options.
133+ See the Windows installation section for more installation details.
135134
136135On Mac:
137136
138- Download Python from this url:
139-
140- https://www.python.org/ftp/python/2.7.10/python-2.7.10-macosx10.6.pkg
137+ Download Python from this url:
138+ https://www.python.org/ftp/python/2.7.10/python-2.7.10-macosx10.6.pkg
141139
142140
143141Installation on Linux and Mac
144142-----------------------------
145143
146- Download and extract the latest ScanCode release from::
147-
148- https://github.com/nexB/scancode-toolkit/releases/latest
144+ Download and extract the latest ScanCode release from:
145+ https://github.com/nexB/scancode-toolkit/releases/latest
149146
150147
151148Open a terminal in the extracted directory and run::
@@ -174,17 +171,20 @@ https://github.com/nexB/scancode-toolkit/releases/latest
174171* In the search box type::
175172
176173 cmd
174+
177175* Select 'cmd.exe' listed in the search results.
178176* A new 'cmd.exe' window pops-up.
179177* In this window (aka. a command prompt), type this (this is 'cd' followed by a space)::
180178
181179 cd
180+
182181* then right-click in this window and select Paste. This will paste the path where you extracted ScanCode.
183182* Press Enter.
184183* This will change the current location of your command prompt to the root directory where scancode is installed.
185184* Then type::
186185
187186 scancode -h
187+
188188* Press enter. This will configure your ScanCode installation.
189189* Several messages are displayed which will be followed by the scancode command help.
190190
@@ -226,7 +226,8 @@ For each scanned file, the result contains:
226226
227227* its location in the codebase,
228228* the detected licenses and copyright statements, and
229- * the start and end line numbers identifying where the license or copyright was found in the scanned file, and
229+ * the start and end line numbers identifying where the license or copyright was found
230+ in the scanned file, and
230231* reference information for the detected license.
231232
232233For archive extraction, ScanCode uses a combination of Python modules, 7zip
@@ -250,11 +251,11 @@ You need to create a pair of files:
250251 key: my-license
251252 name: My License
252253
253- * the key name can contain only these symbols:
254+ The key name can contain only these symbols:
254255
255- - lowercase letters from a to z,
256- - numbers from 0 to 9,and
257- - dash `- ` and `. ` period signs. No spaces.
256+ * lowercase letters from a to z,
257+ * numbers from 0 to 9,and
258+ * dash `- ` and `. ` period signs. No spaces.
258259
259260Save these two files in the src/licensedcode/data/licenses/ directory.
260261
@@ -279,13 +280,13 @@ already a rule with this base name. Do not use spaces or special characters in t
279280Then create the rule file in the src/licensedcode/data/rules/ directory using this name replacing
280281`selected_base_name ` with the base name you selected::
281282
282- selected_base_name.RULE
283+ selected_base_name.RULE
283284
284285Save your rule text in this file.
285286
286287Then create the YAML data file in the src/licensedcode/data/rules/ directory using this name::
287288
288- selected_base_name.yml
289+ selected_base_name.yml
289290
290291For a simple mit and gpl-2.0 detection license keys detection, the content of this file can be
291292this YAML snippet::
@@ -308,7 +309,7 @@ More (advanced) rules options:
308309 You can mark a template region in your rule text using {{ double curly braces }} and up to five words can
309310 vary and still match this rule. You must add this field to you .yml data file to mark this rule as a `template `::
310311
311- template: yes
312+ template: yes
312313
313314* By using a number after the opening braces, more than five words can be skipped. With `{{10 double curly braces }} `
314315 ten words would be skipped.
0 commit comments