forked from qgis/QGIS-Documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:yjacolin/QGIS-Documentation
- Loading branch information
Showing
3 changed files
with
97 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
|
@@ -4,3 +4,5 @@ Thumb.db | ||
desktop.ini | desktop.ini | ||
*.*~ | *.*~ | ||
*~ | *~ | ||
build | |||
|
This file contains 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 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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,54 @@ | |||
Installation | |||
================================================================================ | |||
|
|||
Very basic steps | |||
-------------------------------------------------------------------------------- | |||
|
|||
* git clone the project | |||
* add the linfiniti-sphinx-theme git repostiory as a submodule | |||
* build the documentation | |||
|
|||
Installation | |||
-------------------------------------------------------------------------------- | |||
|
|||
Git clone this project. | |||
|
|||
Create a git submodule support to include the linfiniti-sphinx-theme in your | |||
git project:: | |||
|
|||
git submodule add git@github.com:timlinux/linfiniti-sphinx-theme.git \ | |||
linfiniti-sphinx-theme | |||
git submodule | |||
git submodule init linfiniti-sphinx-theme | |||
git submodule update linfiniti-sphinx-theme | |||
git status | |||
git commit -m "Import linfiniti-sphinx-theme as a git submodule" -a | |||
git push | |||
make html | |||
|
|||
The above being a typical workflow to incorporate the theme as a submodule in | |||
your project. | |||
|
|||
.. note:: The theme is frozen at the particular version that was current when | |||
you perform the git submodule update command. | |||
|
|||
If you wish to obtain updates to the theme submodule, the procedure is | |||
something like this:: | |||
|
|||
cd <your sphinx project>/linfiniti-sphinx-theme | |||
git pull | |||
cd .. | |||
|
|||
Then commit the fact that the submodule now tracks a different SHA1:: | |||
|
|||
git commit -am "Updates linfiniti theme to latest version" | |||
Build the documentation | |||
-------------------------------------------------------------------------------- | |||
|
|||
You can build the html in the following way:: | |||
|
|||
build html | |||
(TODO) | |||
|