automatically reference right scalaVersion in RST

using epilog_rst configuration variable in sphinx, which reads
akka-docs/epilog_rst, which is written in sphinx-scala-version task by
SBT, which is referenced by the other docs tasks as a dependency
This commit is contained in:
Roland 2012-08-17 00:07:56 +02:00
parent b9e91d69d7
commit d41160f4bf
7 changed files with 25 additions and 8 deletions

View file

@ -25,6 +25,10 @@ highlight_language = 'scala'
add_function_parentheses = False
show_authors = True
f = open('epilog_rst', 'U')
rst_epilog = "\n" + f.read()
f.close()
# -- Options for HTML output ---------------------------------------------------
html_theme = 'akka'