Skip to content

Adds Documentation Versioning, Command Line Options, Changelogs - #26

Merged
pombredanne merged 10 commits into
aboutcode-org:masterfrom
AyanSinhaMahapatra:master
Sep 27, 2019
Merged

Adds Documentation Versioning, Command Line Options, Changelogs#26
pombredanne merged 10 commits into
aboutcode-org:masterfrom
AyanSinhaMahapatra:master

Conversation

@AyanSinhaMahapatra

Copy link
Copy Markdown
Member

This adds to the existing documentation a versioning system which is compatible with ReadTheDocs hosting, adds command-line options, changelogs and updates the documentation for scancode-toolkit so that it the documentation is consistent for all the scancode-toolkit versions. [Work in Progress]

Signed-off-by: Ayan Sinha Mahapatra ayansmahapatra@gmail.com

Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
@DennisClark

Copy link
Copy Markdown
Member

@AyanSinhaMahapatra Looks good so far. If it is still a work-in-progress let me know when you are ready. We can chat about it later.

@AyanSinhaMahapatra

Copy link
Copy Markdown
Member Author

@DennisClark it is still WIP. I have work done on my local repo, not pushing just yet because have some issues to talk to you first today.

… Rule

This commit completely changes the documentation structure, dividing it into sub-folder adhering to the 4 functions - tutorials, how-to
guides, referance and explanation. Also adds the Getting Started, Contributing and Miscellaneous sections. This commit contains only the index.rst
files, and later commits will add modular changes in this restructuring. This is very close to the structure that will remain at last, but a lot
of content will be added subsequently in the files, and different branches for different versions.

Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
Moves required files into Getting Started Section. Also adds What's New File, which will explain what a new release contains.
More Content Will be added later.

Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
Moves files that helps new contributors to this section, and adds What's New (in this release), Documentation Contribution Guidelines
(To Be Expanded More). Also moves in data folders.

Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
Moves Files that doesn't fall into other categories into this section. Also restructures faq.rst significantly. Questions moved into How To section
and more content will be added in later commits.

Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
Tutorials are guides to perform simple but important tasks, to get users started using Scancode. How To Guides are more goal oriented,
helps complete harder objectives. This is according to the 4 functions rule for documentation.

Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
Initial Files are Added, content to be added in Version Specific Branches v2.2.1 and v3.1.1 which branches from this commit.

Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
@AyanSinhaMahapatra

AyanSinhaMahapatra commented Sep 25, 2019

Copy link
Copy Markdown
Member Author

Initiates Documentation Structure. [d9ca04b]

@AyanSinhaMahapatra

AyanSinhaMahapatra commented Sep 25, 2019

Copy link
Copy Markdown
Member Author

Also added Version 2.2.1 and Version 3.1.1 Branches. Their respective ReadTheDocs builds can be seen at RTD 3.1.1 and RTD 2.2.1 respectively.

@AyanSinhaMahapatra

AyanSinhaMahapatra commented Sep 25, 2019

Copy link
Copy Markdown
Member Author

Since I cannot add Branches in this repository, @DennisClark you have to at this point of time, as we discussed before.
We can start that after Merging this PR, as my branches start from Commit b049637.

@AyanSinhaMahapatra

Copy link
Copy Markdown
Member Author

I'll attach a document explaining everything shortly. Also Fixing the bug for Travis-CI check.

Documentation Style is enforced by using Doc8 and Doc Contribution Guide is updated accordingly.
300+ Style errors fixed.

Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
@AyanSinhaMahapatra

Copy link
Copy Markdown
Member Author

Checks Cleared.

@DennisClark

Copy link
Copy Markdown
Member

@AyanSinhaMahapatra This is looking good. Review and discussion in progress. Planning to take action in a day or two.

This commits fixes some spelling mistakes and Adds guide to use GNU Aspell to do the same.

Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
@pombredanne

Copy link
Copy Markdown
Member

@AyanSinhaMahapatra this is looking great! I discussed with @DennisClark about branches and tags and I think that after all it might be best to have the doc for each project in each project repo (e.g. the ScanCode toolkit docs in the scancode-toolkit and so on) and that this Aboutcode repo would be for cross project documentations and as the gateway to each project-level docs.
We can chat about the details on how to do so.
I think that we can merge this first and do the changes after. Would that work?

@AyanSinhaMahapatra

Copy link
Copy Markdown
Member Author

Hi @pombredanne I've prepared a doc discussing these issues, and what my plan is. Would you check once and then let me know? Doc Link

@pombredanne

Copy link
Copy Markdown
Member

@AyanSinhaMahapatra Thanks!
I look at your plan and its works fine.
I am merging... But let's discuss further before we start having multiple branches. I thing this can be delayed until when we split the doc in each repo later.

@pombredanne
pombredanne merged commit e0034d9 into aboutcode-org:master Sep 27, 2019
@pombredanne

Copy link
Copy Markdown
Member

BTW a tiny nit picking: we prefer to use an imperative style in the commit messages, like if you were giving an order to the codebase.
So for instance instead of:

Adds Documentation Versioning, Command Line Options, Changelogs

we prefer the imperative:

Add Documentation Versioning, Command Line Options, Changelogs

It also makes sense to keep the subject line (the first line) under 50 characters.

@AyanSinhaMahapatra

AyanSinhaMahapatra commented Sep 27, 2019 via email

Copy link
Copy Markdown
Member Author

AyanSinhaMahapatra pushed a commit that referenced this pull request Mar 30, 2022
Create junction from Scripts to bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants