Commit dee504c4d05705e74474c78ace5ab975522d5911

Authored by Antonio Terceiro
Committed by Sergio Oliveira
1 parent 484e08a2
Exists in master and in 90 other branches 3.x, add_sisp_to_chef, add_super_archives_plugin, api_for_colab, automates_core_packing, backup, backup_not_prod, cdtc_configuration, changes_in_buttons_on_content_panel, colab_automated_login, colab_spb_plugin_recipe, colab_widgets_settings, design_validation, dev-lappis, dev_env_minimal, disable_email_dev, docs, fix_breadcrumbs_position, fix_categories_software_link, fix_edit_institution, fix_edit_software_with_another_license, fix_get_license_info, fix_gitlab_assets_permission, fix_list_style_inside_article, fix_list_style_on_folder_elements, fix_members_pagination, fix_merge_request_url, fix_models_translations, fix_no_license, fix_software_api, fix_software_block_migration, fix_software_communities_translations, fix_software_communities_unit_test, fix_style_create_institution_admin_panel, fix_superarchives_imports, fix_sym_links_noosfero, focus_search_field_theme, gov-user-refactoring, gov-user-refactoring-rails4, header_fix, institution_modal_on_rating, kalibro-conf-refactoring, kalibro-processor-package, lxc_settings, margin_fix, mezuro_cookbook, performance, prezento, r3, refactor_download_block, refactor_software_communities, refactor_software_for_sisp, register_page, release-process, release-process-v2, remove-unused-images, remove_backup_emails, remove_broken_theme, remove_secondary_email_from_user, remove_sisp_buttons, removing_super_archives_email, review_message, scope2method, signals_user_noosfero, sisp_catalog_header, sisp_colab_config, sisp_dev, sisp_dev_master, sisp_simple_version, software_as_organization, software_catalog_style_fix, software_communities_html_refactor, software_infos_api, spb_minimal_env, spb_to_rails4, spec_refactor, stable-4.1, stable-4.2, stable-4.x, stable-devel, support_docs, syslog, temp_soft_comm_refactoring, theme_header, theme_javascript_refactory, thread_dropdown, thread_page, update_search_by_categories, update_software_api, update_softwares_boxes

Include DNS information in the documentation

Showing 3 changed files with 31 additions and 25 deletions   Show diff stats
.gitignore
... ... @@ -4,6 +4,7 @@
4 4 /.tmp
5 5 /tmp
6 6 /docs/_build
  7 +/docs/dns.rst
7 8 /.*.html
8 9 /local.rake
9 10 *.swp
... ...
docs/Makefile
... ... @@ -48,130 +48,134 @@ help:
48 48  
49 49 clean:
50 50 rm -rf $(BUILDDIR)/*
  51 + rm -f dns.rst
51 52  
52   -html:
  53 +dns.rst: ../test/dns_test.sh
  54 + (cd .. && sh test/dns_test.sh --doc) | pandoc -f markdown --to rst --output $@
  55 +
  56 +html: dns.rst
53 57 $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
54 58 @echo
55 59 @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
56 60  
57   -dirhtml:
  61 +dirhtml: dns.rst
58 62 $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
59 63 @echo
60 64 @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
61 65  
62   -singlehtml:
  66 +singlehtml: dns.rst
63 67 $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
64 68 @echo
65 69 @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
66 70  
67   -pickle:
  71 +pickle: dns.rst
68 72 $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
69 73 @echo
70 74 @echo "Build finished; now you can process the pickle files."
71 75  
72   -json:
  76 +json: dns.rst
73 77 $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
74 78 @echo
75 79 @echo "Build finished; now you can process the JSON files."
76 80  
77   -htmlhelp:
  81 +htmlhelp: dns.rst
78 82 $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
79 83 @echo
80 84 @echo "Build finished; now you can run HTML Help Workshop with the" \
81 85 ".hhp project file in $(BUILDDIR)/htmlhelp."
82 86  
83   -qthelp:
  87 +qthelp: dns.rst
84 88 $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
85 89 @echo
86 90 @echo "Build finished; now you can run "qcollectiongenerator" with the" \
87   - ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
  91 + ".qhcp project file in $(BUILDDIR)/qthelp, like this: dns.rst"
88 92 @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/softwarepublico.qhcp"
89   - @echo "To view the help file:"
  93 + @echo "To view the help file: dns.rst"
90 94 @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/softwarepublico.qhc"
91 95  
92   -devhelp:
  96 +devhelp: dns.rst
93 97 $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
94 98 @echo
95 99 @echo "Build finished."
96   - @echo "To view the help file:"
  100 + @echo "To view the help file: dns.rst"
97 101 @echo "# mkdir -p $$HOME/.local/share/devhelp/softwarepublico"
98 102 @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/softwarepublico"
99 103 @echo "# devhelp"
100 104  
101   -epub:
  105 +epub: dns.rst
102 106 $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
103 107 @echo
104 108 @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
105 109  
106   -latex:
  110 +latex: dns.rst
107 111 $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
108 112 @echo
109 113 @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
110 114 @echo "Run \`make' in that directory to run these through (pdf)latex" \
111 115 "(use \`make latexpdf' here to do that automatically)."
112 116  
113   -latexpdf:
  117 +latexpdf: dns.rst
114 118 $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
115 119 @echo "Running LaTeX files through pdflatex..."
116 120 $(MAKE) -C $(BUILDDIR)/latex all-pdf
117 121 @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
118 122  
119   -latexpdfja:
  123 +latexpdfja: dns.rst
120 124 $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
121 125 @echo "Running LaTeX files through platex and dvipdfmx..."
122 126 $(MAKE) -C $(BUILDDIR)/latex all-pdf-ja
123 127 @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
124 128  
125   -text:
  129 +text: dns.rst
126 130 $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
127 131 @echo
128 132 @echo "Build finished. The text files are in $(BUILDDIR)/text."
129 133  
130   -man:
  134 +man: dns.rst
131 135 $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
132 136 @echo
133 137 @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
134 138  
135   -texinfo:
  139 +texinfo: dns.rst
136 140 $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
137 141 @echo
138 142 @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
139 143 @echo "Run \`make' in that directory to run these through makeinfo" \
140 144 "(use \`make info' here to do that automatically)."
141 145  
142   -info:
  146 +info: dns.rst
143 147 $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
144 148 @echo "Running Texinfo files through makeinfo..."
145 149 make -C $(BUILDDIR)/texinfo info
146 150 @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
147 151  
148   -gettext:
  152 +gettext: dns.rst
149 153 $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
150 154 @echo
151 155 @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
152 156  
153   -changes:
  157 +changes: dns.rst
154 158 $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
155 159 @echo
156 160 @echo "The overview file is in $(BUILDDIR)/changes."
157 161  
158   -linkcheck:
  162 +linkcheck: dns.rst
159 163 $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
160 164 @echo
161 165 @echo "Link check complete; look for any errors in the above output " \
162 166 "or in $(BUILDDIR)/linkcheck/output.txt."
163 167  
164   -doctest:
  168 +doctest: dns.rst
165 169 $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
166 170 @echo "Testing of doctests in the sources finished, look at the " \
167 171 "results in $(BUILDDIR)/doctest/output.txt."
168 172  
169   -xml:
  173 +xml: dns.rst
170 174 $(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml
171 175 @echo
172 176 @echo "Build finished. The XML files are in $(BUILDDIR)/xml."
173 177  
174   -pseudoxml:
  178 +pseudoxml: dns.rst
175 179 $(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
176 180 @echo
177 181 @echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
... ...
docs/index.rst
... ... @@ -37,3 +37,4 @@ Conteúdos
37 37  
38 38 install
39 39 dependencies
  40 + dns
... ...