Skip to content

Commit

Permalink
docs: developer guide: fixes some problems
Browse files Browse the repository at this point in the history
Also removed the developer directory from the conversion script,
as this is no longer required.
  • Loading branch information
joergsteffens committed Feb 10, 2019
1 parent a95811b commit c412199
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 38 deletions.
19 changes: 5 additions & 14 deletions docs/manuals/en/new_main_reference/convert_all_tex_files_to_rst.sh
Expand Up @@ -10,14 +10,12 @@ PHASE=${1:-ALL}
FILES=${2:-$(cat destfiles.txt | grep -v ^#)}

for destfile in $FILES; do
file=`echo $destfile | sed 's#.*/##g'`
chapterdir=`echo $destfile | sed 's#/.*##g'`
filebase=`basename $destfile .tex`
file=`echo $destfile | sed 's#.*/##g'`
chapterdir=`echo $destfile | sed 's#/.*##g'`
filebase=`basename $destfile .tex`

mkdir -p ${WORK_DIR}${chapterdir}
mkdir -p ${TARGET_DIR}${chapterdir}

if [ "${chapterdir}" != "developers" ]; then
mkdir -p ${WORK_DIR}${chapterdir}
mkdir -p ${TARGET_DIR}${chapterdir}

if [ $PHASE == "ALL" ] || [ $PHASE == "prepandoc" ]; then
printf "%-50s (%s)\n" "$destfile" "prepandoc"
Expand All @@ -37,11 +35,4 @@ for destfile in $FILES; do
printf "%s\n\n" " It was automatically converted from the corresponding .tex file" >> ${TARGET_DIR}${chapterdir}/${filebase}.rst
cat ${WORK_DIR}${chapterdir}/${filebase}.rst | ./latex-scan.py --standalone >> ${TARGET_DIR}${chapterdir}/${filebase}.rst 2>${WORK_DIR}${chapterdir}/${filebase}.latex-scan.log || exit "failed to post convert ${WORK_DIR}${chapterdir}/${filebase}.rst"
fi
else
# developers files are only copied over
if [ $PHASE == "ALL" ]; then
#cp ../developers/source/${file} ${TARGET_DIR}${chapterdir}
echo "not doing: cp ../developers/source/${file} ${TARGET_DIR}${chapterdir}"
fi
fi
done
21 changes: 0 additions & 21 deletions docs/manuals/en/new_main_reference/destfiles.txt
Expand Up @@ -62,24 +62,3 @@ appendix-j/troubleshooting.tex
appendix-k/debug.tex
appendix-l/releasenotes.tex
appendix-m/license.tex

# developer guide (only copying from developers guide)
developers/releasenotes.rst
developers/api.rst
developers/catalog.rst
developers/daemonprotocol.rst
developers/directorConsole.rst
developers/fdl.rst
developers/file.rst
developers/generaldevel.rst
developers/mediaformat.rst
developers/mempool.rst
developers/messages.rst
developers/netprotocol.rst
developers/platformsupport.rst
developers/pluginAPI.rst
developers/porting.rst
developers/regression.rst
developers/smartall.rst
developers/storage.rst
developers/tls-techdoc.rst
Expand Up @@ -105,6 +105,7 @@ We can use seqdiag:
We can use nwdiag:

.. nwdiag::

{
network dmz {
address = "210.x.x.x/24"
Expand Down Expand Up @@ -147,7 +148,8 @@ We can use plantuml:


History
~~~~~~~
-------


Bareos is a fork of the open source project Bacula version 5.2. In 2010
the Bacula community developer Marco van Wieringen started to collect
Expand All @@ -165,15 +167,15 @@ maintain a list of contributors to Bacula (until the time we’ve started
the fork) and Bareos in our AUTHORS file.

Contributions
~~~~~~~~~~~~~
-------------

Contributions to the Bareos project come in many forms: ideas,
participation in helping people on the bareos-users email list,
packaging Bareos binaries for the community, helping improve the
documentation, and submitting code.

Patches
~~~~~~~
-------

Subject to the copyright assignment described below, your patches should
be sent in **git format-patch** format relative to the current contents
Expand Down

0 comments on commit c412199

Please sign in to comment.