Project

General

Profile

Osmocom Manuals » History » Revision 9

Revision 8 (osmith, 12/05/2018 03:07 PM) → Revision 9/12 (pespin, 07/22/2019 08:49 AM)

h1. Osmocom Manuals 

 Osmocom cellular infrastructure projects provide a set of manuals, including: including 
 * User Manuals user manuals 
 * VTY Reference Manuals reference manuals 
 * Protocol protocol / Interface Manuals interface manuals 

 The latest versions of the Osmocom GSM Manuals can always be found at 

 https://ftp.osmocom.org/docs/latest/ 

 There also is some browsable [[Guidelines for API documentation|API Documentation]] (currently not generated for all libraries). 

 h2. Contributing 

 Contributions are most welcome via [[Gerrit]]. 

 If the manual for the program of your particular interest area is missing or you find it incomplete, we kindly ask you for your contribution in form of patches against http://git.osmocom.org/osmo-gsm-manuals/ (or, alternatively [[cellular-infrastructure:Funding]]) 

 h2. Building from source 

 Osmocom User Manuals are available in asciidoc format, maintained in the @doc/manuals@ dir of each Osmocom project and can be built with @./configure --enable-manuals@. Shared content is in "osmo-gsm-manuals.git":http://git.osmocom.org/osmo-gsm-manuals/. See "INSTALL.txt":https://git.osmocom.org/osmo-gsm-manuals/tree/INSTALL.txt for further instructions. 

 h3. Troubleshooting: Failed to load external entity Contributions are most welcome via [[Gerrit]]. 

 Note that docbook.org since recently are providing DTDs only on HTTPS URLs, while xmllint There also is incapable of SSL. Hence it is necessary to locally install the docbook DTDs. (On Debian, these are included in the docbook5-xml package.) 
 On other distributions (such as ArchLinux), there seems to be no package correctly installing the local docbook DTDs, and building will fail with: 
 <pre> 
 warning: failed to load external entity "http://docbook.org/xml/5.0/dtd/docbook.dtd" 
 validity error : Could some browsable [[Guidelines for API documentation|API Documentation]] (currently not load the external subset "http://docbook.org/xml/5.0/dtd/docbook.dtd" 
 </pre> 

 In order to get stuff build, simply modify @osmo-gsm-manuals.git@'s Makefile include to bypass xmllint call: 
 <pre> 
 diff --git a/build/Makefile.docbook.inc b/build/Makefile.docbook.inc 
 index 373db7d..668796c 100644 
 --- a/build/Makefile.docbook.inc 
 +++ b/build/Makefile.docbook.inc 
 @@ -33,7 +33,6 @@ all: $(DOCBOOKS_PDF) 

  # Create a PDF file and lint it before 
  # xslt path: find includes in both $(OSMO_GSM_MANUALS_DIR)/common/chapters and $(builddir)/generated 
 -%.pdf: %.xml %.xml-lint $(DOCBOOKS_DEPS) build common 
 +%.pdf: %.xml $(DOCBOOKS_DEPS) build common 
         dblatex --xslt-opts="--path $(realpath $(OSMO_GSM_MANUALS_DIR))/common/chapters:$$PWD/generated" \ 
                 $(dblatex_quiet) -P draft.mode=no -o $(notdir $@) $< 
 </pre> 
 generated for all libraries).
Add picture from clipboard (Maximum size: 48.8 MB)