Skip to content

Commit f39a27a

Browse files
committed
link installation in doc to README.rst on github
1 parent 80f16d6 commit f39a27a

File tree

3 files changed

+47
-141
lines changed

3 files changed

+47
-141
lines changed

doc/manual/source/conf.py

Lines changed: 43 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@
1818
# If extensions (or modules to document with autodoc) are in another directory,
1919
# add these directories to sys.path here. If the directory is relative to the
2020
# documentation root, use os.path.abspath to make it absolute, like shown here.
21-
#sys.path.insert(0, os.path.abspath('.'))
22-
#sys.path.insert(0, os.path.abspath('../../..'))
21+
# sys.path.insert(0, os.path.abspath('.'))
22+
# sys.path.insert(0, os.path.abspath('../../..'))
2323

2424
# abbreviations
2525
ab_authors = u'Pavol Juhás, Christopher L. Farrow, Simon J.L. Billinge group'
2626

2727
# -- General configuration -----------------------------------------------------
2828

2929
# If your documentation needs a minimal Sphinx version, state it here.
30-
#needs_sphinx = '1.0'
30+
# needs_sphinx = '1.0'
3131

3232
# Add any Sphinx extension module names here, as strings. They can be extensions
3333
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
@@ -40,7 +40,7 @@
4040
source_suffix = '.rst'
4141

4242
# The encoding of source files.
43-
#source_encoding = 'utf-8-sig'
43+
# source_encoding = 'utf-8-sig'
4444

4545
# The master toctree document.
4646
master_doc = 'index'
@@ -55,23 +55,24 @@
5555
sys.path.insert(0, os.path.abspath('../../..'))
5656
from setup import versiondata
5757
fullversion = versiondata.get('DEFAULT', 'version')
58+
# sys.path.remove(os.path.abspath('../../..'))
5859
# The short X.Y version.
5960
version = '.'.join(fullversion.split('.')[:2])
6061
# The full version, including alpha/beta/rc tags.
6162
release = fullversion
6263

6364
# The language for content autogenerated by Sphinx. Refer to documentation
6465
# for a list of supported languages.
65-
#language = None
66+
# language = None
6667

6768
# There are two options for replacing |today|: either, you set today to some
6869
# non-false value, then it is used:
69-
#today = ''
70+
# today = ''
7071
today_seconds = versiondata.getint('DEFAULT', 'timestamp')
7172
today = time.strftime('%B %d, %Y', time.localtime(today_seconds))
7273
year = today.split()[-1]
7374
# Else, today_fmt is used as the format for a strftime call.
74-
#today_fmt = '%B %d, %Y'
75+
# today_fmt = '%B %d, %Y'
7576
# substitute YEAR in the copyright string
7677
copyright = copyright.replace('%Y', year)
7778

@@ -80,18 +81,18 @@
8081
exclude_patterns = []
8182

8283
# The reST default role (used for this markup: `text`) to use for all documents.
83-
#default_role = None
84+
# default_role = None
8485

8586
# If true, '()' will be appended to :func: etc. cross-reference text.
86-
#add_function_parentheses = True
87+
# add_function_parentheses = True
8788

8889
# If true, the current module name will be prepended to all description
8990
# unit titles (such as .. function::).
90-
#add_module_names = True
91+
# add_module_names = True
9192

9293
# If true, sectionauthor and moduleauthor directives will be shown in the
9394
# output. They are ignored by default.
94-
#show_authors = False
95+
# show_authors = False
9596

9697
# The name of the Pygments (syntax highlighting) style to use.
9798
pygments_style = 'sphinx'
@@ -111,27 +112,27 @@
111112
# Theme options are theme-specific and customize the look and feel of a theme
112113
# further. For a list of options available for each theme, see the
113114
# documentation.
114-
#html_theme_options = {}
115+
# html_theme_options = {}
115116
html_theme_options = {'collapsiblesidebar' : 'true'}
116117

117118
# Add any paths that contain custom themes here, relative to this directory.
118-
#html_theme_path = []
119+
# html_theme_path = []
119120

120121
# The name for this set of Sphinx documents. If None, it defaults to
121122
# "<project> v<release> documentation".
122-
#html_title = None
123+
# html_title = None
123124

124125
# A shorter title for the navigation bar. Default is the same as html_title.
125-
#html_short_title = None
126+
# html_short_title = None
126127

127128
# The name of an image file (relative to this directory) to place at the top
128129
# of the sidebar.
129-
#html_logo = None
130+
# html_logo = None
130131

131132
# The name of an image file (within the static path) to use as favicon of the
132133
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
133134
# pixels large.
134-
#html_favicon = None
135+
# html_favicon = None
135136

136137
# Add any paths that contain custom static files (such as style sheets) here,
137138
# relative to this directory. They are copied after the builtin static files,
@@ -140,44 +141,44 @@
140141

141142
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
142143
# using the given strftime format.
143-
#html_last_updated_fmt = '%b %d, %Y'
144+
# html_last_updated_fmt = '%b %d, %Y'
144145

145146
# If true, SmartyPants will be used to convert quotes and dashes to
146147
# typographically correct entities.
147-
#html_use_smartypants = True
148+
# html_use_smartypants = True
148149

149150
# Custom sidebar templates, maps document names to template names.
150-
#html_sidebars = {}
151+
# html_sidebars = {}
151152

152153
# Additional templates that should be rendered to pages, maps page names to
153154
# template names.
154-
#html_additional_pages = {}
155+
# html_additional_pages = {}
155156

156157
# If false, no module index is generated.
157-
#html_domain_indices = True
158+
# html_domain_indices = True
158159

159160
# If false, no index is generated.
160-
#html_use_index = True
161+
# html_use_index = True
161162

162163
# If true, the index is split into individual pages for each letter.
163-
#html_split_index = False
164+
# html_split_index = False
164165

165166
# If true, links to the reST sources are added to the pages.
166-
#html_show_sourcelink = True
167+
# html_show_sourcelink = True
167168

168169
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
169-
#html_show_sphinx = True
170+
# html_show_sphinx = True
170171

171172
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
172-
#html_show_copyright = True
173+
# html_show_copyright = True
173174

174175
# If true, an OpenSearch description file will be output, and all pages will
175176
# contain a <link> tag referring to it. The value of this option must be the
176177
# base URL from which the finished HTML is served.
177-
#html_use_opensearch = ''
178+
# html_use_opensearch = ''
178179

179180
# This is the file name suffix for HTML files (e.g. ".xhtml").
180-
#html_file_suffix = None
181+
# html_file_suffix = None
181182

182183
# Output file base name for HTML help builder.
183184
htmlhelp_basename = 'SrRealdoc'
@@ -187,13 +188,13 @@
187188

188189
latex_elements = {
189190
# The paper size ('letterpaper' or 'a4paper').
190-
#'papersize': 'letterpaper',
191+
# 'papersize': 'letterpaper',
191192

192193
# The font size ('10pt', '11pt' or '12pt').
193-
#'pointsize': '10pt',
194+
# 'pointsize': '10pt',
194195

195196
# Additional stuff for the LaTeX preamble.
196-
#'preamble': '',
197+
# 'preamble': '',
197198
}
198199

199200
# Grouping the document tree into LaTeX files. List of tuples
@@ -205,23 +206,23 @@
205206

206207
# The name of an image file (relative to this directory) to place at the top of
207208
# the title page.
208-
#latex_logo = None
209+
# latex_logo = None
209210

210211
# For "manual" documents, if this is true, then toplevel headings are parts,
211212
# not chapters.
212-
#latex_use_parts = False
213+
# latex_use_parts = False
213214

214215
# If true, show page references after internal links.
215-
#latex_show_pagerefs = False
216+
# latex_show_pagerefs = False
216217

217218
# If true, show URL addresses after external links.
218-
#latex_show_urls = False
219+
# latex_show_urls = False
219220

220221
# Documents to append as an appendix to all manuals.
221-
#latex_appendices = []
222+
# latex_appendices = []
222223

223224
# If false, no module index is generated.
224-
#latex_domain_indices = True
225+
# latex_domain_indices = True
225226

226227

227228
# -- Options for manual page output --------------------------------------------
@@ -234,7 +235,7 @@
234235
]
235236

236237
# If true, show URL addresses after external links.
237-
#man_show_urls = False
238+
# man_show_urls = False
238239

239240

240241
# -- Options for Texinfo output ------------------------------------------------
@@ -249,13 +250,13 @@
249250
]
250251

251252
# Documents to append as an appendix to all manuals.
252-
#texinfo_appendices = []
253+
# texinfo_appendices = []
253254

254255
# If false, no module index is generated.
255-
#texinfo_domain_indices = True
256+
# texinfo_domain_indices = True
256257

257258
# How to display URL addresses: 'footnote', 'no', or 'inline'.
258-
#texinfo_show_urls = 'footnote'
259+
# texinfo_show_urls = 'footnote'
259260

260261

261262
# Example configuration for intersphinx: refer to the Python standard library.

doc/manual/source/index.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,13 @@ diffpy.srreal is developed and maintained by
6666
Installation
6767
======================================
6868

69-
.. include:: install.rst
69+
See the `README.rst <https://github.com/diffpy/diffpy.srreal#requirements>`_
70+
file included with the distribution.
7071

7172

73+
======================================
7274
API and Index
73-
==================
75+
======================================
7476

7577
.. toctree::
7678
:maxdepth: 2

doc/manual/source/install.rst

Lines changed: 0 additions & 97 deletions
This file was deleted.

0 commit comments

Comments
 (0)