-
Notifications
You must be signed in to change notification settings - Fork 5
Cleanup documentation and make it more readable #907
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
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
68e7551
Refer directly to our own vendoring article
spoorcc a7fd675
Merge examples into vendoring article
spoorcc 468bf99
Move installation to a separate page
spoorcc 9fbadca
Sync index.rst with README
spoorcc 826eb62
Make troubleshooting more clear
spoorcc e7e7d4d
fix link
spoorcc cc1e124
Rename vendoring
spoorcc 3efd288
Make underline long enough
spoorcc 30769fc
Explain <version> placeholder
spoorcc 6384813
Remove comments
spoorcc 45ef3a9
Make introduction in alternatives more clear
spoorcc 6bfcd80
Link issues in documentation auotmatically
spoorcc e27dff1
Review comments
spoorcc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| .. Dfetch documentation master file | ||
|
|
||
|
|
||
| Contributing | ||
| ============ | ||
|
|
||
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| .. Dfetch documentation master file | ||
|
|
||
|
|
||
| Getting Started | ||
| =============== | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,86 @@ | ||
|
|
||
|
|
||
|
|
||
| Installation | ||
| ============ | ||
|
|
||
| From pip | ||
| -------- | ||
|
|
||
| If you are using python you can install the latest release with: | ||
|
|
||
| .. code-block:: bash | ||
|
|
||
| pip install dfetch | ||
|
|
||
| Or install the latest version from the main branch: | ||
|
|
||
| .. code-block:: bash | ||
|
|
||
| pip install git+https://github.com/dfetch-org/dfetch.git#egg=dfetch | ||
|
|
||
| Binary distributions | ||
| -------------------- | ||
|
|
||
| Each release on the `releases page <https://github.com/dfetch-org/dfetch/releases>`_ | ||
| provides pre-built installers for all major platforms, so no compilation is required. | ||
|
|
||
| Each installer package has a name in the format ``<version>-<platform>``. | ||
|
|
||
| - ``<version>`` shows the software version: | ||
|
|
||
| - If it includes ``dev``, it is a development release (for testing). | ||
| - If it is only numbers (e.g. ``0.11.0``), it is an official release. | ||
|
|
||
| - ``<platform>`` indicates the system the installer is for: ``nix`` (Linux), ``osx`` (Mac), or ``win`` (Windows). | ||
|
|
||
| The version is automatically determined from the project and used to name the installer files. | ||
|
|
||
| .. tabs:: | ||
|
|
||
| .. tab:: Linux | ||
|
|
||
| Download the ``.deb`` or ``.rpm`` package from the releases page and install it. | ||
|
|
||
| Debian / Ubuntu (``.deb``): | ||
|
|
||
| .. code-block:: bash | ||
|
|
||
| sudo dpkg -i dfetch-<version>-nix.deb | ||
|
|
||
| RPM-based distributions (``.rpm``): | ||
|
|
||
| .. code-block:: bash | ||
|
|
||
| sudo dnf install dfetch-<version>-nix.rpm | ||
| # or | ||
| sudo rpm -i dfetch-<version>-nix.rpm | ||
|
|
||
| .. tab:: macOS | ||
|
|
||
| Download the ``.pkg`` package from the releases page and install it. | ||
|
|
||
| .. code-block:: bash | ||
|
|
||
| sudo installer -pkg dfetch-<version>-osx.pkg -target / | ||
|
|
||
| .. tab:: Windows | ||
|
|
||
| Download the ``.msi`` installer and install by double-clicking or use: | ||
|
|
||
| .. code-block:: powershell | ||
|
|
||
| msiexec /i dfetch-<version>-win.msi | ||
|
|
||
| Uninstalling can be done through the regular Add/Remove programs section. | ||
|
|
||
| Validating Installation | ||
| ----------------------- | ||
|
|
||
| Run the following command to verify the installation | ||
|
|
||
| .. code-block:: bash | ||
|
|
||
| dfetch environment | ||
|
|
||
| .. asciinema:: asciicasts/environment.cast |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| .. Dfetch documentation master file | ||
|
|
||
|
|
||
| Legal | ||
| ===== | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| .. Dfetch documentation master file | ||
|
|
||
|
|
||
| Manifest | ||
| ======== | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| .. Dfetch documentation master file | ||
|
|
||
|
|
||
| Manual | ||
| ====== | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.