diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -4,6 +4,7 @@ To build things on a Debian (-based) system, install these packages: - make - python3-sphinx - python3-recommonmark + - python3-sphinx-book-theme - graphviz - texlive-latex-extra - dvipng @@ -14,4 +15,20 @@ Then, do "make html" for HTML, "make texinfo" for Texinfo, etc. The output is in subdir ‘_build’. -TODO: Add instructions on how to build/export/integrate ‘prebuilt’ docs. +Branch ‘prebuilt’ is special. Its contents (or a subset) are used as +submodules in other Git repos (e.g., Exchange, Merchant, Sync). + +One approach that works well (so far) for ttn is to do +(presuming that the current directory is named ‘docs’): + + $ cd .. + $ git clone -b prebuilt --reference docs \ + git+ssh://git@git.taler.net/docs.git \ + docs-prebuilt + +This creates Git repo docs-prebuilt as a peer to the current repo. + +This way, you can build in this directory (i.e., "make man" or whatever) +and then copy to ../docs-prebuilt/man/* what files need to be updated. +In that repo, you can commit changes and push to git.taler.net as normal, +all without having to do "git checkout" in either repo. |