Skip to content

Update Documentation - #602

Merged
AyanSinhaMahapatra merged 16 commits into
feature/unittestsfrom
update/docs
Oct 25, 2023
Merged

Update Documentation#602
AyanSinhaMahapatra merged 16 commits into
feature/unittestsfrom
update/docs

Conversation

@OmkarPh

@OmkarPh OmkarPh commented Sep 11, 2023

Copy link
Copy Markdown
Collaborator

No description provided.

Signed-off-by: Omkar Phansopkar <omkarphansopkar@gmail.com>
Signed-off-by: Omkar Phansopkar <omkarphansopkar@gmail.com>
Signed-off-by: Omkar Phansopkar <omkarphansopkar@gmail.com>
Signed-off-by: Omkar Phansopkar <omkarphansopkar@gmail.com>
Signed-off-by: Omkar Phansopkar <omkarphansopkar@gmail.com>
@OmkarPh
OmkarPh marked this pull request as ready for review September 24, 2023 19:19
@AyanSinhaMahapatra
AyanSinhaMahapatra changed the base branch from v4.0-react-typescript to feature/unittests September 25, 2023 08:49

@AyanSinhaMahapatra AyanSinhaMahapatra left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks++ @OmkarPh
See initial comments for your consideration.
The autobuild feature works great and is nice to have. Works on linux allright, so let's add it to the skeleton docs too, so it's there in other projects.
There are some warnings and errors shown on make dev:

ERROR: Unexpected indentation.
WARNING: Title underline too short
WARNING: duplicate label 
WARNING: Duplicate explicit target name

Would make sense to fix these too.

Comment thread docs/source/conf.py Outdated
Comment thread docs/requirements.txt Outdated
Comment thread docs/README.md Outdated
Comment thread docs/Makefile Outdated
Comment thread docs/source/technical-reference/index.rst Outdated
Signed-off-by: Omkar Phansopkar <omkarphansopkar@gmail.com>
@OmkarPh

OmkarPh commented Sep 25, 2023

Copy link
Copy Markdown
Collaborator Author
ERROR: Unexpected indentation.
WARNING: Title underline too short
WARNING: duplicate label 
WARNING: Duplicate explicit target name

Oops, missed those

Edit: Fixed !

…ild errors

Signed-off-by: Omkar Phansopkar <omkarphansopkar@gmail.com>
Signed-off-by: Omkar Phansopkar <omkarphansopkar@gmail.com>
@AyanSinhaMahapatra

Copy link
Copy Markdown
Member

@OmkarPh please add here the .readthedocs.yml file present at https://github.com/nexB/skeleton/blob/main/.readthedocs.yml also

Signed-off-by: Omkar Phansopkar <omkarphansopkar@gmail.com>
@OmkarPh
OmkarPh force-pushed the update/docs branch 12 times, most recently from 80e082d to 35d2a27 Compare October 14, 2023 11:38
Signed-off-by: Omkar Phansopkar <omkarphansopkar@gmail.com>
Signed-off-by: Omkar Phansopkar <omkarphansopkar@gmail.com>
@OmkarPh

OmkarPh commented Oct 16, 2023

Copy link
Copy Markdown
Collaborator Author

Hey @AyanSinhaMahapatra
I've incorporated the changes in docs, as discussed last week

Also, added some suggestions for the scancode-toolkit along with this PR - aboutcode-org/scancode-toolkit#3549

Can you push your doc improvements, or maybe merge into this branch itself

@AyanSinhaMahapatra AyanSinhaMahapatra left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@OmkarPh LGTM and thanks!
The docs at https://scancode-workbench.readthedocs.io/en/update-docs/ is now much more comprehensive and looks great.

All the points on more references between sections, using screenshots instead of gifs wherever possible and the misc updates in UI references are addressed and now looking great. 🙇

I'll add my few changes on top and we're ready to merge!

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

@AyanSinhaMahapatra AyanSinhaMahapatra left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@OmkarPh I just noticed we are actually not running the doc check scripts (build and style checks) present at https://github.com/nexB/scancode-workbench/tree/update/docs/docs/scripts in the CI. These have some minor errors to fix too, and added to a github actions.

See https://github.com/nexB/skeleton/blob/main/.github/workflows/docs-ci.yml
While you're at it, can you remove the chmod line at skeleton, I thing that's not required, if we chmod and commit the results.

Signed-off-by: Omkar Phansopkar <omkarphansopkar@gmail.com>
@OmkarPh

OmkarPh commented Oct 17, 2023

Copy link
Copy Markdown
Collaborator Author

@OmkarPh I just noticed we are actually not running the doc check scripts (build and style checks) present at https://github.com/nexB/scancode-workbench/tree/update/docs/docs/scripts in the CI. These have some minor errors to fix too, and added to a github actions.

I've fixed the errors & the new docs CI is working fine now

See https://github.com/nexB/skeleton/blob/main/.github/workflows/docs-ci.yml While you're at it, can you remove the chmod line at skeleton, I thing that's not required, if we chmod and commit the results.

Yep, chmod is not required. I'll do this in skeleton PR also.

For future reference, tracking chmod using - git update-index --chmod=+x docs/scripts/doc8_style_check.sh

@OmkarPh

OmkarPh commented Oct 18, 2023

Copy link
Copy Markdown
Collaborator Author

Updated chmod & other docs in skeleton aboutcode-org/skeleton#83

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

Copy link
Copy Markdown
Member

@OmkarPh @AyanSinhaMahapatra The updated ReadTheDocs looks great. It's well-organized, the expanations are clear and concise, and there are many good-looking (and helpful) illustrations.

I've also loaded a good-sized scan into SCWB 4.0.0rc4, and if possible I like this version even better than rc3. I did not realize how many different data views we had until I took the time to explore the data -- nicely done and very useful. The initial load process was fast and error-free. Navigation is fast fast fast.

I did notice that in the Table View, the values in the filter dropdowns for File extension, Copyright Holder and Copyright Author were not displayed in alphabetical order (I was unable to ID a pattern to the sort order). I think the sort order at some point in the past was alphabetical, which imho ought to be the default sort.

@DennisClark DennisClark left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good to me. The documentation is excellent and quite thorough.

@OmkarPh

OmkarPh commented Oct 19, 2023

Copy link
Copy Markdown
Collaborator Author

I did notice that in the Table View, the values in the filter dropdowns for File extension, Copyright Holder and Copyright Author were not displayed in alphabetical order (I was unable to ID a pattern to the sort order). I think the sort order at some point in the past was alphabetical, which imho ought to be the default sort.

yeah, having an alphabetical order would be nice, I'll update that in a different PR

@OmkarPh

OmkarPh commented Oct 19, 2023

Copy link
Copy Markdown
Collaborator Author

Thanks for the review @johnmhoran @DennisClark @AyanSinhaMahapatra 😄

… outdated docs

Signed-off-by: Omkar Phansopkar <omkarphansopkar@gmail.com>
@AyanSinhaMahapatra

Copy link
Copy Markdown
Member

Thanks @OmkarPh for the updates, ready at last, merging!

@AyanSinhaMahapatra
AyanSinhaMahapatra merged commit 8ed4e40 into feature/unittests Oct 25, 2023
@AyanSinhaMahapatra
AyanSinhaMahapatra deleted the update/docs branch October 25, 2023 13:58
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.

4 participants