Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Commit

Permalink
Replaced Docbook handbook with ReST
Browse files Browse the repository at this point in the history
This allows us to build the handbook with plain Sphinx without any extension.
Now docs should build completely on readthedocs.org.  DocBook just sucks
anyway, and never quite fitted into the website
  • Loading branch information
Sebastian Wiesner committed Feb 11, 2012
1 parent 2a50791 commit 8c3914d
Show file tree
Hide file tree
Showing 13 changed files with 716 additions and 1,218 deletions.
6 changes: 3 additions & 3 deletions doc/_templates/sidebartop.html
Expand Up @@ -18,10 +18,10 @@

<ul>
<li>{{link('Installation instructions', pathto('install'))}}</li>
<li>{{link('Handbook', 'handbook/index.html')}}
<li>{{link('Handbook', pathto('handbook/index'))}}
<ul>
<li>{{link('Usage', 'handbook/usage.html')}}</li>
<li>{{link('Reference', 'handbook/commands.html')}}</li>
<li>{{link('Usage', pathto('handbook/usage'))}}</li>
<li>{{link('Reference', pathto('handbook/commands'))}}</li>
</ul>
</li>
<li>{{link('Translation guide', pathto('translation_guide'))}}</li>
Expand Down
19 changes: 19 additions & 0 deletions doc/_themes/synaptiks/static/synaptiks.css_t
Expand Up @@ -81,3 +81,22 @@ div.body h6 {
background-color: #ffffff;
border-bottom: none;
}


/* -- misc styles ----------------------------------------------------------- */

.menuselection,
.guilabel {
background-color: gainsboro;
color: black;
border: 1px solid #BEBEBE;
-khtml-border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
font-style: normal;
}

.kbd {
font-weight: bold;
}
6 changes: 2 additions & 4 deletions doc/conf.py
Expand Up @@ -27,7 +27,6 @@

# add project directory to module path in order to import synaptiks correctly
doc_directory = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, doc_directory)
sys.path.insert(0, os.path.normpath(
os.path.join(doc_directory, os.pardir)))

Expand Down Expand Up @@ -78,11 +77,10 @@ def __getattr__(self, attribute):

needs_sphinx = '1.0'

extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx',
'sphinx.ext.graphviz', 'sphinxcontrib.issuetracker', 'handbook']
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.graphviz', 'sphinxcontrib.issuetracker']

master_doc = 'index'
exclude_patterns = ['_build/*']
exclude_patterns = ['_build/*', 'substitutions.rst']
source_suffix = '.rst'

project = u'synaptiks'
Expand Down
196 changes: 0 additions & 196 deletions doc/handbook.py

This file was deleted.

0 comments on commit 8c3914d

Please sign in to comment.