-
-
Notifications
You must be signed in to change notification settings - Fork 687
Installation guide: Show system package commands using sphinx-inline-tabs #37056
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
7 commits
Select commit
Hold shift + click to select a range
fb1d40b
build/pkgs/sphinx_inline_tabs: New
mkoeppe 83bc7da
src/doc/en/installation/source.rst: Use sphinx-inline-tabs for system…
mkoeppe f858db5
src/doc/en/developer/github.rst: Show git instructions using inline t…
mkoeppe aaa5b46
src/doc/en/installation/source.rst: Merge section on texlive etc. int…
mkoeppe 2fe88d0
build/bin/sage-spkg-info: Use inline tabs for system package commands
mkoeppe 74cfd0d
Merge branch 'develop' into doc-inline-tab-preparse
mkoeppe 2392b19
src/doc/en/developer/github.rst: Use 'By HTTPS protocol'
mkoeppe 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 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
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,16 @@ | ||
| sphinx_inline_tabs: Add inline tabbed content to your Sphinx documentation. | ||
| =========================================================================== | ||
|
|
||
| Description | ||
| ----------- | ||
|
|
||
| Add inline tabbed content to your Sphinx documentation. | ||
|
|
||
| License | ||
| ------- | ||
|
|
||
| Upstream Contact | ||
| ---------------- | ||
|
|
||
| https://pypi.org/project/sphinx-inline-tabs/ | ||
|
|
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,5 @@ | ||
| tarball=sphinx_inline_tabs-VERSION-py3-none-any.whl | ||
| sha1=1404e320d0533280355e7e1e71cffd9937015027 | ||
| md5=7373d0ebd34be8f9ac2ed62bc63f4582 | ||
| cksum=2708358042 | ||
| upstream_url=https://pypi.io/packages/py3/s/sphinx_inline_tabs/sphinx_inline_tabs-VERSION-py3-none-any.whl |
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,4 @@ | ||
| sphinx | $(PYTHON_TOOLCHAIN) $(PYTHON) | ||
|
|
||
| ---------- | ||
| All lines of this file are ignored except the first. |
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 @@ | ||
| sphinx-inline-tabs |
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 @@ | ||
| 2023.4.21 |
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,3 @@ | ||
| SAGE_SPKG_CONFIGURE([sphinx_inline_tabs], [ | ||
| SAGE_PYTHON_PACKAGE_CHECK([sphinx_inline_tabs]) | ||
| ]) |
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 @@ | ||
| standard |
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 |
|---|---|---|
|
|
@@ -123,7 +123,11 @@ https://github.com/alice/sage. | |
|
|
||
| Next if you don't have a local Git repo of Sage, then start afresh `cloning | ||
| your fork | ||
| <https://docs.github.com/en/get-started/quickstart/fork-a-repo#cloning-your-forked-repository>`_:: | ||
| <https://docs.github.com/en/get-started/quickstart/fork-a-repo#cloning-your-forked-repository>`_: | ||
|
|
||
| .. tab:: By HTTPS protocol | ||
|
|
||
| :: | ||
|
|
||
| [alice@localhost ~]$ git clone https://github.com/alice/sage.git | ||
| Cloning into 'sage'... | ||
|
|
@@ -139,7 +143,30 @@ your fork | |
| origin https://github.com/alice/sage.git (fetch) | ||
| origin https://github.com/alice/sage.git (push) | ||
|
|
||
| If you already have a local Git repo and only want to link your fork as ``origin`` remote, then do:: | ||
| .. tab:: By SSH protocol | ||
|
|
||
| :: | ||
|
|
||
| [alice@localhost ~]$ git clone [email protected]:alice/sage.git | ||
| Cloning into 'sage'... | ||
| remote: Enumerating objects: 914565, done. | ||
| remote: Counting objects: 100% (2738/2738), done. | ||
| remote: Compressing objects: 100% (855/855), done. | ||
| remote: Total 914565 (delta 1950), reused 2493 (delta 1875), pack-reused 911827 | ||
| Receiving objects: 100% (914565/914565), 331.09 MiB | 11.22 MiB/s, done. | ||
| Resolving deltas: 100% (725438/725438), done. | ||
| Updating files: 100% (9936/9936), done. | ||
| [alice@localhost ~]$ cd sage | ||
| [alice@localhost sage]$ git remote -v | ||
| origin [email protected]:alice/sage.git (fetch) | ||
| origin [email protected]:alice/sage.git (push) | ||
|
|
||
|
|
||
| If you already have a local Git repo and only want to link your fork as ``origin`` remote, then do: | ||
|
|
||
| .. tab:: By HTTPS protocol | ||
|
|
||
| :: | ||
|
|
||
| [alice@localhost sage]$ git remote add origin https://github.com/alice/sage.git | ||
| [alice@localhost sage]$ git remote -v | ||
|
|
@@ -155,7 +182,29 @@ If you already have a local Git repo and only want to link your fork as ``origin | |
| From https://github.com/alice/sage | ||
| * [new branch] develop -> origin/develop | ||
|
|
||
| You also add the Sage repo ``sagemath/sage`` as your remote ``upstream``:: | ||
| .. tab:: By SSH protocol | ||
|
|
||
| :: | ||
|
|
||
| [alice@localhost sage]$ git remote add origin [email protected]:alice/sage.git | ||
| [alice@localhost sage]$ git remote -v | ||
| origin [email protected]:alice/sage.git (fetch) | ||
| origin [email protected]:alice/sage.git (push) | ||
| [alice@localhost sage]$ git fetch origin | ||
| remote: Enumerating objects: 1136, done. | ||
| remote: Counting objects: 100% (1084/1084), done. | ||
| remote: Compressing objects: 100% (308/308), done. | ||
| remote: Total 1136 (delta 825), reused 982 (delta 776), pack-reused 52 | ||
| Receiving objects: 100% (1136/1136), 2.62 MiB | 5.30 MiB/s, done. | ||
| Resolving deltas: 100% (838/838), completed with 145 local objects. | ||
| From [email protected]:alice/sage | ||
| * [new branch] develop -> origin/develop | ||
|
|
||
| You also add the Sage repo ``sagemath/sage`` as your remote ``upstream``: | ||
|
|
||
| .. tab:: By HTTPS protocol | ||
|
|
||
| :: | ||
|
|
||
| [alice@localhost sage]$ git remote add upstream https://github.com/sagemath/sage.git | ||
| [alice@localhost sage]$ git remote -v | ||
|
|
@@ -164,19 +213,16 @@ You also add the Sage repo ``sagemath/sage`` as your remote ``upstream``:: | |
| upstream https://github.com/sagemath/sage.git (fetch) | ||
| upstream https://github.com/sagemath/sage.git (push) | ||
|
|
||
| .. tab:: By SSH protocol | ||
|
|
||
| .. NOTE:: | ||
|
|
||
| If you linked your Git to GitHub by SSH protocol, then do the following | ||
| instead to set up remotes:: | ||
| :: | ||
|
|
||
| [alice@localhost sage]$ git remote add origin [email protected]:alice/sage.git | ||
| [alice@localhost sage]$ git remote add upstream [email protected]:sagemath/sage.git | ||
| [alice@localhost sage]$ git remote -v | ||
| origin [email protected]:alice/sage.git (fetch) | ||
| origin [email protected]:alice/sage.git (push) | ||
| upstream [email protected]:sagemath/sage.git (fetch) | ||
| upstream [email protected]:sagemath/sage.git (push) | ||
| [alice@localhost sage]$ git remote add upstream [email protected]:sagemath/sage.git | ||
| [alice@localhost sage]$ git remote -v | ||
| origin [email protected]:alice/sage.git (fetch) | ||
| origin [email protected]:alice/sage.git (push) | ||
| upstream [email protected]:sagemath/sage.git (fetch) | ||
| upstream [email protected]:sagemath/sage.git (push) | ||
|
|
||
| To prevent accidental pushes to ``upstream`` (instead of ``origin``), you may want to disable it by running:: | ||
|
|
||
|
|
||
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.