Skip to content

Commit 7a5a00b

Browse files
author
Sam Kleinman
committed
build: modernizing the buildsystem to use docs-tools infrastructure
1 parent 2dfeaac commit 7a5a00b

34 files changed

+326
-3782
lines changed
File renamed without changes.

bin/additional_directives.py

-73
This file was deleted.

bin/aggregation_domain.py

-59
This file was deleted.

bin/builddata/links.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
link-path: '$(public-output)/tutorials'
2+
referent: 'tutorial'
3+
type: 'structural'
4+
...

bin/builddata/migrations.yaml

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
target: 'migrations'
2+
dependency:
3+
- '$(public-output)/_images/MongoDB_ReplicaSetMember.template'
4+
- '$(public-output)/_images/MongoDB_SingleNode.template'
5+
- '$(public-output)/_images/MongoDB_ReplicaSetStack.template'
6+
action: 'dep'
7+
---
8+
target: 'content'
9+
dependency:
10+
- '$(public-output)'
11+
- '$(public-output)/release.txt'
12+
- '$(public-output)/tutorials'
13+
action: 'dep'
14+
---
15+
target: sitemap
16+
dependency: '$(public-output)/sitemap.xml.gz '
17+
action: 'dep'
18+
---
19+
target: 'source/about.txt'
20+
dependency: 'source'
21+
action: 'touch'
22+
---
23+
target: '$(branch-output)/html'
24+
dependency: 'html'
25+
action: 'touch'
26+
---
27+
target: '$(branch-output)/dirhtml'
28+
dependency: 'dirhtml'
29+
action: 'touch'
30+
---
31+
target: '$(branch-output)/singlehtml'
32+
dependency: 'singlehtml'
33+
action: 'touch'
34+
---
35+
target: '$(public-output)'
36+
dependency: '$(branch-output)/dirhtml'
37+
action: 'transfer'
38+
---
39+
target: '$(public-output)/_images/MongoDB_SingleNode.template'
40+
dependency: 'source/images/MongoDB_SingleNode.template'
41+
action: 'cp'
42+
type: 'content'
43+
---
44+
target: '$(public-output)/_images/MongoDB_ReplicaSetStack.template'
45+
dependency: 'source/images/MongoDB_ReplicaSetStack.template'
46+
action: 'cp'
47+
type: 'content'
48+
---
49+
target: '$(public-output)/_images/MongoDB_ReplicaSetMember.template'
50+
dependency: 'source/images/MongoDB_ReplicaSetMember.template'
51+
action: 'cp'
52+
type: 'content'
53+
---
54+
target: 'pdfs.yaml'
55+
dependency: 'bin/builddata/pdfs.yaml'
56+
action: 'cp'
57+
type: 'build'
58+
---
59+
target: 'conf.py'
60+
dependency:
61+
- 'meta.yaml'
62+
- 'pdfs.yaml'
63+
action: 'dep'
64+
...

bin/builddata/pdfs.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
source: 'contents'
2+
title: 'MongoDB Ecosystem Documentation'
3+
output: 'MongoDB-Ecosystem.tex'
4+
author: 'MongoDB Documentation Project'
5+
class: 'manual'
6+
tag: 'manual'
7+
...

bin/builddata/sphinx.yaml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# The items in the ``builders`` list are the name of Sphinx builders
2+
# supported by ``sphinx-build``.
3+
#
4+
# The ``prerequsites`` list stores all targets that must build before
5+
# sphinx can begin.
6+
#
7+
# The ``generated-source`` list stores all the targets that generate rst.
8+
9+
builders:
10+
- dirhtml
11+
- singlehtml
12+
- latex
13+
- epub
14+
- html
15+
- gettext
16+
- man
17+
- json
18+
- changes
19+
- doctest
20+
- linkcheck
21+
- texinfo
22+
prerequisites:
23+
- setup
24+
- intersphinx
25+
- generate-source
26+
generated-source:
27+
- tables
28+
...

bin/builder_data.py

-42
This file was deleted.

bin/docs_meta.yaml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
git:
2+
remote:
3+
upstream: 'mongodb/docs-ecosystem'
4+
tools: 'mongodb/docs-tools'
5+
branches:
6+
manual: 'master'
7+
published:
8+
- 'master'
9+
# the branches/published list **must** be ordered from most to
10+
# least recent release.
11+
version:
12+
published:
13+
- 'master'
14+
stable: null
15+
upcoming: null
16+
build:
17+
system:
18+
files:
19+
- 'sphinx'
20+
- 'pdfs'
21+
- 'tables'
22+
- 'links'
23+
- 'migrations'
24+
static:
25+
- 'makefile.compatibility'
26+
- 'makefile.clean'
27+
paths:
28+
output: 'build'
29+
includes: 'source/includes'
30+
images: 'source/images'
31+
tools: 'bin'
32+
buildsystem: 'build/docs-tools'
33+
builddata: 'bin/builddata'
34+
...

bin/intersphinx-download.py

-68
This file was deleted.

bin/makefile-builder/builder_data.py

-1
This file was deleted.

0 commit comments

Comments
 (0)