Skip to content

Commit

Permalink
build: modernizing the buildsystem to use docs-tools infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Kleinman committed Jun 13, 2013
1 parent 2dfeaac commit 7a5a00b
Show file tree
Hide file tree
Showing 34 changed files with 326 additions and 3,782 deletions.
File renamed without changes
73 changes: 0 additions & 73 deletions bin/additional_directives.py

This file was deleted.

59 changes: 0 additions & 59 deletions bin/aggregation_domain.py

This file was deleted.

4 changes: 4 additions & 0 deletions bin/builddata/links.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
link-path: '$(public-output)/tutorials'
referent: 'tutorial'
type: 'structural'
...
64 changes: 64 additions & 0 deletions bin/builddata/migrations.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
target: 'migrations'
dependency:
- '$(public-output)/_images/MongoDB_ReplicaSetMember.template'
- '$(public-output)/_images/MongoDB_SingleNode.template'
- '$(public-output)/_images/MongoDB_ReplicaSetStack.template'
action: 'dep'
---
target: 'content'
dependency:
- '$(public-output)'
- '$(public-output)/release.txt'
- '$(public-output)/tutorials'
action: 'dep'
---
target: sitemap
dependency: '$(public-output)/sitemap.xml.gz '
action: 'dep'
---
target: 'source/about.txt'
dependency: 'source'
action: 'touch'
---
target: '$(branch-output)/html'
dependency: 'html'
action: 'touch'
---
target: '$(branch-output)/dirhtml'
dependency: 'dirhtml'
action: 'touch'
---
target: '$(branch-output)/singlehtml'
dependency: 'singlehtml'
action: 'touch'
---
target: '$(public-output)'
dependency: '$(branch-output)/dirhtml'
action: 'transfer'
---
target: '$(public-output)/_images/MongoDB_SingleNode.template'
dependency: 'source/images/MongoDB_SingleNode.template'
action: 'cp'
type: 'content'
---
target: '$(public-output)/_images/MongoDB_ReplicaSetStack.template'
dependency: 'source/images/MongoDB_ReplicaSetStack.template'
action: 'cp'
type: 'content'
---
target: '$(public-output)/_images/MongoDB_ReplicaSetMember.template'
dependency: 'source/images/MongoDB_ReplicaSetMember.template'
action: 'cp'
type: 'content'
---
target: 'pdfs.yaml'
dependency: 'bin/builddata/pdfs.yaml'
action: 'cp'
type: 'build'
---
target: 'conf.py'
dependency:
- 'meta.yaml'
- 'pdfs.yaml'
action: 'dep'
...
7 changes: 7 additions & 0 deletions bin/builddata/pdfs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
source: 'contents'
title: 'MongoDB Ecosystem Documentation'
output: 'MongoDB-Ecosystem.tex'
author: 'MongoDB Documentation Project'
class: 'manual'
tag: 'manual'
...
28 changes: 28 additions & 0 deletions bin/builddata/sphinx.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# The items in the ``builders`` list are the name of Sphinx builders
# supported by ``sphinx-build``.
#
# The ``prerequsites`` list stores all targets that must build before
# sphinx can begin.
#
# The ``generated-source`` list stores all the targets that generate rst.

builders:
- dirhtml
- singlehtml
- latex
- epub
- html
- gettext
- man
- json
- changes
- doctest
- linkcheck
- texinfo
prerequisites:
- setup
- intersphinx
- generate-source
generated-source:
- tables
...
42 changes: 0 additions & 42 deletions bin/builder_data.py

This file was deleted.

34 changes: 34 additions & 0 deletions bin/docs_meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
git:
remote:
upstream: 'mongodb/docs-ecosystem'
tools: 'mongodb/docs-tools'
branches:
manual: 'master'
published:
- 'master'
# the branches/published list **must** be ordered from most to
# least recent release.
version:
published:
- 'master'
stable: null
upcoming: null
build:
system:
files:
- 'sphinx'
- 'pdfs'
- 'tables'
- 'links'
- 'migrations'
static:
- 'makefile.compatibility'
- 'makefile.clean'
paths:
output: 'build'
includes: 'source/includes'
images: 'source/images'
tools: 'bin'
buildsystem: 'build/docs-tools'
builddata: 'bin/builddata'
...
68 changes: 0 additions & 68 deletions bin/intersphinx-download.py

This file was deleted.

1 change: 0 additions & 1 deletion bin/makefile-builder/builder_data.py

This file was deleted.

Loading

0 comments on commit 7a5a00b

Please sign in to comment.