Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Documentation #602

Merged
merged 16 commits into from
Oct 25, 2023
Merged

Update Documentation #602

merged 16 commits into from
Oct 25, 2023

Conversation

OmkarPh
Copy link
Collaborator

@OmkarPh OmkarPh commented Sep 11, 2023

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
Copy link
Contributor

@AyanSinhaMahapatra AyanSinhaMahapatra left a comment

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.

docs/source/conf.py Outdated Show resolved Hide resolved
docs/requirements.txt Outdated Show resolved Hide resolved
docs/README.md Outdated Show resolved Hide resolved
docs/Makefile Outdated Show resolved Hide resolved
docs/source/technical-reference/index.rst Outdated Show resolved Hide resolved
Signed-off-by: Omkar Phansopkar <omkarphansopkar@gmail.com>
@OmkarPh
Copy link
Collaborator Author

OmkarPh commented Sep 25, 2023

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
Contributor

@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
Copy link
Collaborator Author

OmkarPh commented Oct 16, 2023

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

Copy link
Contributor

@AyanSinhaMahapatra AyanSinhaMahapatra left a comment

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>
Copy link
Contributor

@AyanSinhaMahapatra AyanSinhaMahapatra left a comment

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
Copy link
Collaborator Author

OmkarPh commented Oct 17, 2023

@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
Copy link
Collaborator Author

OmkarPh commented Oct 18, 2023

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

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

@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.

Copy link

@DennisClark DennisClark left a comment

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
Copy link
Collaborator Author

OmkarPh commented Oct 19, 2023

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
Copy link
Collaborator Author

OmkarPh commented Oct 19, 2023

Thanks for the review @johnmhoran @DennisClark @AyanSinhaMahapatra 😄

… outdated docs

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

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

@AyanSinhaMahapatra AyanSinhaMahapatra merged commit 8ed4e40 into feature/unittests Oct 25, 2023
10 checks passed
@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