Skip to content

Add documentation links and update install related guides - #1851

Merged
pombredanne merged 8 commits into
aboutcode-org:developfrom
AyanSinhaMahapatra:add-doc-link-to-readme
Jan 29, 2020
Merged

Add documentation links and update install related guides#1851
pombredanne merged 8 commits into
aboutcode-org:developfrom
AyanSinhaMahapatra:add-doc-link-to-readme

Conversation

@AyanSinhaMahapatra

@AyanSinhaMahapatra AyanSinhaMahapatra commented Dec 5, 2019

Copy link
Copy Markdown
Member

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

  1. Updates install page and README to promote Python 3.6. This fixes Promote Python 3.6 to primary platform (vs Python 2.7) #1874.

  2. Updates README to link to ReadTheDocs. This fixes Update scancode-toolkit github pages with new documentation links #1849 and Documentation Inconsistencies/Improvements Tracker #1813 (partly)

  3. Update install methods related Information in the README and on the docs, for better support and clarity. Discussion comments here.

Tasks

  • Reviewed contribution guidelines
  • PR is descriptively titled 📑 and links the original issue above 🔗
  • Tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR
    Run tests locally to check for errors.
  • Commits are in uniquely-named feature branch and has no merge conflicts 📁

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

Copy link
Copy Markdown
Member Author

The README can be checked here.

@AyanSinhaMahapatra AyanSinhaMahapatra changed the title Add documentation links in README Add documentation links and update install related guides in README Dec 7, 2019
@AyanSinhaMahapatra AyanSinhaMahapatra changed the title Add documentation links and update install related guides in README Add documentation links and update install related guides Jan 18, 2020
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>
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
@codecov

codecov Bot commented Jan 24, 2020

Copy link
Copy Markdown

Codecov Report

Merging #1851 into develop will decrease coverage by <.01%.
The diff coverage is 98.39%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1851      +/-   ##
===========================================
- Coverage    78.97%   78.96%   -0.01%     
===========================================
  Files          131      131              
  Lines        16924    16924              
===========================================
- Hits         13365    13364       -1     
- Misses        3559     3560       +1
Impacted Files Coverage Δ
src/textcode/strings.py 63.1% <100%> (ø) ⬆️
src/summarycode/plugin_consolidate.py 94.21% <100%> (ø) ⬆️
src/packagedcode/models.py 93.05% <100%> (ø) ⬆️
src/packagedcode/phpcomposer.py 90.64% <94%> (ø) ⬆️
src/packagedcode/npm.py 90.02% <99.11%> (ø) ⬆️
src/scancode/api.py 94.9% <0%> (-0.64%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b0fbe1a...1f82690. Read the comment docs.

Comment thread docs/source/getting-started/install.rst Outdated
Comment thread docs/source/getting-started/install.rst Outdated
Comment thread docs/source/getting-started/install.rst Outdated
Comment thread docs/source/getting-started/install.rst Outdated
Comment thread docs/source/cli-reference/synopsis.rst Outdated
Comment thread docs/source/getting-started/install.rst Outdated
Comment thread docs/source/getting-started/install.rst
Comment thread docs/source/getting-started/newcomer.rst Outdated
@AyanSinhaMahapatra

Copy link
Copy Markdown
Member Author

@MaJuRG Thanks for your comments, they were essential! I've resolved all of them now. :)

Comment thread docs/source/getting-started/install.rst
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
@AyanSinhaMahapatra

Copy link
Copy Markdown
Member Author

@MaJuRG That's done. You can check that out here.

@steven-esser steven-esser left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@AyanSinhaMahapatra My mistake.

@pombredanne This looks good to me. Not sure if you want to have a look or not before merge, but ill leave it open for a little

Comment thread README.rst Outdated

- As a **standalone command line tool**, ScanCode is **easy to install**, run
and embed in your CI/CD processing pipeline. It runs on **Windows, macOS and Linux**.
and embed in your CI/CD processing pipeline. It runs on **Windows, MacOS and Linux**.

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.

macOS is the correct case from what I can see on Apple's website

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Oops, will correct this.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Done!

Comment thread README.rst
|Develop| |devel-cov| | |devel-posix| | |devel-win| |
+-------+--------------+-----------------+--------------+

Documentation Build

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.

How is this different from the documentation link below?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This one is the Documentation Build (RTD) status, like the code build status often displayed on README's. The ones below are just links. Check it out here

Comment thread README.rst Outdated
============

Pre-requisites:
There are 3 main ways you can `install ScanCode <https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html>`_.

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.

Would it make sense to move the bulk of this in an INSTALL.rst file instead? and only keep the simple happy installation path here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@pombredanne could you elaborate.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Okay right. That would definitely be better IMHO, the README being smaller and more concise. Should I do that? In that case I'd only link to the installation documentation right?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Done!

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

Copy link
Copy Markdown
Member

Thank you ++... merging!

@pombredanne
pombredanne merged commit e1ad0f3 into aboutcode-org:develop Jan 29, 2020
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.

Promote Python 3.6 to primary platform (vs Python 2.7) Update scancode-toolkit github pages with new documentation links

3 participants