=pro Add watchSources for *.rst to akka-docs
This commit is contained in:
parent
ad1a4e9c70
commit
a917e2f816
1 changed files with 3 additions and 0 deletions
|
|
@ -19,6 +19,9 @@ object SphinxDoc {
|
|||
|
||||
def docsSettings = Seq(
|
||||
sourceDirectory in Sphinx <<= baseDirectory / "rst",
|
||||
watchSources <++= (sourceDirectory in Sphinx, excludeFilter in Global) map { (source, excl) =>
|
||||
source descendantsExcept ("*.rst", excl) get
|
||||
},
|
||||
sphinxPackages in Sphinx <+= baseDirectory { _ / "_sphinx" / "pygments" },
|
||||
// copy akka-contrib/docs into our rst_preprocess/contrib (and apply substitutions)
|
||||
preprocess in Sphinx <<= (preprocess in Sphinx,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue