Skip to content

Commit d29c754

Browse files
committed
Imported docs from sentry-docs
1 parent ec22b8f commit d29c754

13 files changed

+818
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
coverage
22
pkg
33
ruby/
4+
docs/_build
45
.bundle
56
*.gem
67
gemfiles/*.lock

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "docs/_sentryext"]
2+
path = docs/_sentryext
3+
url = https://github.com/getsentry/sentry-doc-support

docs/Makefile

+130
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
# Makefile for Sphinx documentation
2+
#
3+
4+
# You can set these variables from the command line.
5+
SPHINXOPTS =
6+
SPHINXBUILD = sphinx-build
7+
PAPER =
8+
BUILDDIR = ./_build
9+
10+
# Internal variables.
11+
PAPEROPT_a4 = -D latex_paper_size=a4
12+
PAPEROPT_letter = -D latex_paper_size=letter
13+
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
14+
15+
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest
16+
17+
help:
18+
@echo "Please use \`make <target>' where <target> is one of"
19+
@echo " html to make standalone HTML files"
20+
@echo " dirhtml to make HTML files named index.html in directories"
21+
@echo " singlehtml to make a single large HTML file"
22+
@echo " pickle to make pickle files"
23+
@echo " json to make JSON files"
24+
@echo " htmlhelp to make HTML files and a HTML help project"
25+
@echo " qthelp to make HTML files and a qthelp project"
26+
@echo " devhelp to make HTML files and a Devhelp project"
27+
@echo " epub to make an epub"
28+
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
29+
@echo " latexpdf to make LaTeX files and run them through pdflatex"
30+
@echo " text to make text files"
31+
@echo " man to make manual pages"
32+
@echo " changes to make an overview of all changed/added/deprecated items"
33+
@echo " linkcheck to check all external links for integrity"
34+
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
35+
36+
clean:
37+
-rm -rf $(BUILDDIR)/*
38+
39+
html:
40+
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
41+
@echo
42+
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
43+
44+
dirhtml:
45+
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
46+
@echo
47+
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
48+
49+
singlehtml:
50+
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
51+
@echo
52+
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
53+
54+
pickle:
55+
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
56+
@echo
57+
@echo "Build finished; now you can process the pickle files."
58+
59+
json:
60+
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
61+
@echo
62+
@echo "Build finished; now you can process the JSON files."
63+
64+
htmlhelp:
65+
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
66+
@echo
67+
@echo "Build finished; now you can run HTML Help Workshop with the" \
68+
".hhp project file in $(BUILDDIR)/htmlhelp."
69+
70+
qthelp:
71+
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
72+
@echo
73+
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
74+
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
75+
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/Sentry.qhcp"
76+
@echo "To view the help file:"
77+
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/Sentry.qhc"
78+
79+
devhelp:
80+
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
81+
@echo
82+
@echo "Build finished."
83+
@echo "To view the help file:"
84+
@echo "# mkdir -p $$HOME/.local/share/devhelp/Sentry"
85+
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/Sentry"
86+
@echo "# devhelp"
87+
88+
epub:
89+
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
90+
@echo
91+
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
92+
93+
latex:
94+
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
95+
@echo
96+
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
97+
@echo "Run \`make' in that directory to run these through (pdf)latex" \
98+
"(use \`make latexpdf' here to do that automatically)."
99+
100+
latexpdf:
101+
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
102+
@echo "Running LaTeX files through pdflatex..."
103+
make -C $(BUILDDIR)/latex all-pdf
104+
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
105+
106+
text:
107+
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
108+
@echo
109+
@echo "Build finished. The text files are in $(BUILDDIR)/text."
110+
111+
man:
112+
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
113+
@echo
114+
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
115+
116+
changes:
117+
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
118+
@echo
119+
@echo "The overview file is in $(BUILDDIR)/changes."
120+
121+
linkcheck:
122+
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
123+
@echo
124+
@echo "Link check complete; look for any errors in the above output " \
125+
"or in $(BUILDDIR)/linkcheck/output.txt."
126+
127+
doctest:
128+
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
129+
@echo "Testing of doctests in the sources finished, look at the " \
130+
"results in $(BUILDDIR)/doctest/output.txt."

docs/_sentryext

Submodule _sentryext added at 4ae64ec

docs/conf.py

+228
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,228 @@
1+
# -*- coding: utf-8 -*-
2+
#
3+
# Sentry documentation build configuration file, created by
4+
# sphinx-quickstart on Wed Oct 20 16:21:42 2010.
5+
#
6+
# This file is execfile()d with the current directory set to its containing dir.
7+
#
8+
# Note that not all possible configuration values are present in this
9+
# autogenerated file.
10+
#
11+
# All configuration values have a default; values that are commented out
12+
# serve to show the default.
13+
14+
import os
15+
import sys
16+
import datetime
17+
18+
# If extensions (or modules to document with autodoc) are in another directory,
19+
# add these directories to sys.path here. If the directory is relative to the
20+
# documentation root, use os.path.abspath to make it absolute, like shown here.
21+
#sys.path.insert(0, os.path.abspath('.'))
22+
23+
# -- General configuration -----------------------------------------------------
24+
25+
# If your documentation needs a minimal Sphinx version, state it here.
26+
#needs_sphinx = '1.0'
27+
28+
# Add any Sphinx extension module names here, as strings. They can be extensions
29+
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
30+
#extensions = ['sphinxtogithub']
31+
extensions = ['sphinx.ext.intersphinx']
32+
33+
# Add any paths that contain templates here, relative to this directory.
34+
templates_path = ['_templates']
35+
36+
# The suffix of source filenames.
37+
source_suffix = '.rst'
38+
39+
# The encoding of source files.
40+
#source_encoding = 'utf-8-sig'
41+
42+
# The master toctree document.
43+
master_doc = 'index'
44+
45+
# General information about the project.
46+
project = u'Raven'
47+
copyright = u'%s, Functional Software Inc.' % datetime.datetime.today().year
48+
49+
# The version info for the project you're documenting, acts as replacement for
50+
# |version| and |release|, also used in various other places throughout the
51+
# built documents.
52+
#
53+
# The short X.Y version.
54+
55+
version = __import__('pkg_resources').get_distribution('raven').version
56+
# The full version, including alpha/beta/rc tags.
57+
release = version
58+
59+
# The language for content autogenerated by Sphinx. Refer to documentation
60+
# for a list of supported languages.
61+
#language = None
62+
63+
# There are two options for replacing |today|: either, you set today to some
64+
# non-false value, then it is used:
65+
#today = ''
66+
# Else, today_fmt is used as the format for a strftime call.
67+
#today_fmt = '%B %d, %Y'
68+
69+
# List of patterns, relative to source directory, that match files and
70+
# directories to ignore when looking for source files.
71+
exclude_patterns = ['_build']
72+
73+
# The reST default role (used for this markup: `text`) to use for all documents.
74+
#default_role = None
75+
76+
# If true, '()' will be appended to :func: etc. cross-reference text.
77+
#add_function_parentheses = True
78+
79+
# If true, the current module name will be prepended to all description
80+
# unit titles (such as .. function::).
81+
#add_module_names = True
82+
83+
# If true, sectionauthor and moduleauthor directives will be shown in the
84+
# output. They are ignored by default.
85+
#show_authors = False
86+
87+
# The name of the Pygments (syntax highlighting) style to use.
88+
pygments_style = 'sphinx'
89+
90+
# A list of ignored prefixes for module index sorting.
91+
#modindex_common_prefix = []
92+
93+
intersphinx_mapping = {
94+
}
95+
96+
97+
# -- Options for HTML output ---------------------------------------------------
98+
99+
# The theme to use for HTML and HTML Help pages. See the documentation for
100+
# a list of builtin themes.
101+
html_theme = 'nature'
102+
103+
# Theme options are theme-specific and customize the look and feel of a theme
104+
# further. For a list of options available for each theme, see the
105+
# documentation.
106+
# html_theme_options = {}
107+
108+
# Add any paths that contain custom themes here, relative to this directory.
109+
html_theme_path = ['_themes']
110+
111+
# The name for this set of Sphinx documents. If None, it defaults to
112+
# "<project> v<release> documentation".
113+
#html_title = None
114+
115+
# A shorter title for the navigation bar. Default is the same as html_title.
116+
#html_short_title = None
117+
118+
# The name of an image file (relative to this directory) to place at the top
119+
# of the sidebar.
120+
#html_logo = "_static/logo.png"
121+
122+
# The name of an image file (within the static path) to use as favicon of the
123+
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
124+
# pixels large.
125+
#html_favicon = None
126+
127+
# Add any paths that contain custom static files (such as style sheets) here,
128+
# relative to this directory. They are copied after the builtin static files,
129+
# so a file named "default.css" will overwrite the builtin "default.css".
130+
html_static_path = ['_static']
131+
132+
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
133+
# using the given strftime format.
134+
#html_last_updated_fmt = '%b %d, %Y'
135+
136+
# If true, SmartyPants will be used to convert quotes and dashes to
137+
# typographically correct entities.
138+
#html_use_smartypants = True
139+
140+
# Custom sidebar templates, maps document names to template names.
141+
#html_sidebars = {}
142+
143+
# Additional templates that should be rendered to pages, maps page names to
144+
# template names.
145+
#html_additional_pages = {}
146+
147+
# If false, no module index is generated.
148+
#html_domain_indices = True
149+
150+
# If false, no index is generated.
151+
#html_use_index = True
152+
153+
# If true, the index is split into individual pages for each letter.
154+
#html_split_index = False
155+
156+
# If true, links to the reST sources are added to the pages.
157+
#html_show_sourcelink = True
158+
159+
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
160+
#html_show_sphinx = True
161+
162+
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
163+
#html_show_copyright = True
164+
165+
# If true, an OpenSearch description file will be output, and all pages will
166+
# contain a <link> tag referring to it. The value of this option must be the
167+
# base URL from which the finished HTML is served.
168+
#html_use_opensearch = ''
169+
170+
# This is the file name suffix for HTML files (e.g. ".xhtml").
171+
#html_file_suffix = None
172+
173+
# Output file base name for HTML help builder.
174+
htmlhelp_basename = 'Ravendoc'
175+
176+
177+
# -- Options for LaTeX output --------------------------------------------------
178+
179+
# The paper size ('letter' or 'a4').
180+
#latex_paper_size = 'letter'
181+
182+
# The font size ('10pt', '11pt' or '12pt').
183+
#latex_font_size = '10pt'
184+
185+
# Grouping the document tree into LaTeX files. List of tuples
186+
# (source start file, target name, title, author, documentclass [howto/manual]).
187+
latex_documents = [
188+
('index', 'Raven.tex', u'Raven Ruby Documentation',
189+
u'David Cramer', 'manual'),
190+
]
191+
192+
# The name of an image file (relative to this directory) to place at the top of
193+
# the title page.
194+
#latex_logo = None
195+
196+
# For "manual" documents, if this is true, then toplevel headings are parts,
197+
# not chapters.
198+
#latex_use_parts = False
199+
200+
# If true, show page references after internal links.
201+
#latex_show_pagerefs = False
202+
203+
# If true, show URL addresses after external links.
204+
#latex_show_urls = False
205+
206+
# Additional stuff for the LaTeX preamble.
207+
#latex_preamble = ''
208+
209+
# Documents to append as an appendix to all manuals.
210+
#latex_appendices = []
211+
212+
# If false, no module index is generated.
213+
#latex_domain_indices = True
214+
215+
216+
# -- Options for manual page output --------------------------------------------
217+
218+
# One entry per manual page. List of tuples
219+
# (source start file, name, description, authors, manual section).
220+
man_pages = [
221+
('index', 'raven', u'Raven Ruby Documentation',
222+
[u'Functional Software Inc.'], 1)
223+
]
224+
225+
if os.environ.get('SENTRY_FEDERATED_DOCS') != '1':
226+
sys.path.insert(0, os.path.abspath('_sentryext'))
227+
import sentryext
228+
sentryext.activate()

0 commit comments

Comments
 (0)