Skip to content

Commit a022898

Browse files
authored
DOP-1151: set up charts repo to publish via nextgen (#368)
* DOP-1151: sets up charts to publish on nextgen - updates snooty.toml and worker.sh for nextgen - changes links to github from :gh: to :github: - updates some broken links - updates a broken image path - adds Atlas intersphinx so links to atlasroles work - removes unused onprem-specific steps files that trigger errors due to the absence of the pages they link to (e.g. /installation) - moves a table row in the third-party licenses section to correct spot - lints any YAML file that I made fixes in (sorry) * bump * update generic admonitions to use relevant callouts, remove superfluous hidden class from TOCs * disambiguates "sample-data" target * add missing page to toc_landing_pages * missing comma * fix path
1 parent 795f15b commit a022898

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+269
-865
lines changed

snooty.toml

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,35 @@
11
name = "charts"
2+
title = "MongoDB Charts"
3+
4+
intersphinx = ["https://docs.mongodb.com/manual/objects.inv",
5+
"https://docs.atlas.mongodb.com/objects.inv"]
6+
7+
toc_landing_pages = ["/installation", "/dashboards", "/data-sources",
8+
"/administration", "/build-charts", "/launch-charts",
9+
"/tutorial/order-data/order-data-tutorial-overview",
10+
"/tutorial/movie-details/movie-details-tutorial-overview",
11+
"/chart-types", "/chart-type-reference/data-table",
12+
"/chart-type-reference/geo-spatial",
13+
"/chart-type-reference/choropleth",
14+
"/chart-type-reference/grid-charts",
15+
"/chart-type-reference/circular-charts",
16+
"/customize-charts", "/embedding-charts",
17+
"/view-export-chart-data",
18+
"/embedding-tutorials",
19+
"/embedding-charts-sdk"]
220

321
[constants]
4-
version = "Atlas"
22+
version = "v0.10.0"
23+
24+
[substitutions]
25+
charts = "MongoDB Charts"
26+
charts-short = "Charts"
27+
tls-ssl = ":abbr:`TLS (Transport Layer Security)`/:abbr:`SSL (Secure Sockets Layer)`"
28+
service = "Atlas"
29+
enc-channel = ":ref:`encoding channel <encoding-channels>`"
30+
aws = ":abbr:`AWS (Amazon Web Services)`"
31+
gcp = ":abbr:`GCP (Google Cloud Platform)`"
32+
html = ":abbr:`HTML (HyperText Markup Language)`"
33+
jwt = ":abbr:`JWT (JSON Web Token)`"
34+
cloud-svc = "Cloud"
35+
css = ":abbr:`CSS (Cascading Style Sheets)`"

source/bin-data.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ date.
2727

2828
.. _continuous-discrete-data:
2929

30-
.. cssclass:: admonition-example
31-
.. admonition:: Continuous vs Discrete Data
30+
.. example:: Continuous vs Discrete Data
3231

3332
Continuous data can occupy any value over a continuous range.
3433
Some examples of continuous data include height, temperature, or

source/build-charts-reference.txt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@ Chart Building Reference
1313
Learn how |charts| creates an aggregation pipeline based on your
1414
chart configuration to render data.
1515

16-
.. class:: hidden
16+
.. toctree::
17+
:titlesonly:
1718

18-
.. toctree::
19-
:titlesonly:
20-
21-
/sample-mode
22-
/aggregation-pipeline-generation
19+
/sample-mode
20+
/aggregation-pipeline-generation

source/build-charts.txt

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,16 @@ Learn More
6363
:doc:`/build-charts-reference`
6464
Supplemental reference material for building charts.
6565

66-
.. class:: hidden
67-
68-
.. toctree::
69-
:titlesonly:
70-
71-
/encoding-channels
72-
/single-series-categories
73-
/multi-series-charts
74-
/rich-schema-support
75-
/reshape-data
76-
/filter-chart-results
77-
/bin-data
78-
/customize-charts
79-
/view-export-chart-data
80-
/build-charts-reference
66+
.. toctree::
67+
:titlesonly:
68+
69+
/encoding-channels
70+
/single-series-categories
71+
/multi-series-charts
72+
/rich-schema-support
73+
/reshape-data
74+
/filter-chart-results
75+
/bin-data
76+
/customize-charts
77+
/view-export-chart-data
78+
/build-charts-reference

source/chart-type-reference/choropleth.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,7 @@ high movie release counts compared with other countries.
131131
their expected values, refer to the
132132
:ref:`Choropleth Regions <choropleth-regions>` page.
133133

134-
.. class:: hidden
134+
.. toctree::
135+
:titlesonly:
135136

136-
.. toctree::
137-
:titlesonly:
138-
139-
Shape Schemes </chart-type-reference/choropleth-regions>
137+
Shape Schemes </chart-type-reference/choropleth-regions>

source/chart-type-reference/circular-charts.txt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ Circular Charts
2222
:figwidth: 551
2323
:alt: Example of a gauge chart
2424

25-
.. class:: hidden
25+
.. toctree::
26+
:titlesonly:
2627

27-
.. toctree::
28-
:titlesonly:
29-
30-
/chart-type-reference/donut-chart
31-
/chart-type-reference/gauge-chart
28+
/chart-type-reference/donut-chart
29+
/chart-type-reference/gauge-chart

source/chart-type-reference/column-bar-chart.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Column and bar charts provide the following sub-types:
110110
For a more detailed example, refer to the
111111
:ref:`stacked bar chart example <stacked-ref-example>`.
112112

113-
* - :ref:`100% Stacked <100-stacked-example>`
113+
* - :ref:`100% Stacked <one-hundred-stacked-example>`
114114
- 100% stacked charts behave similarly to traditional stacked
115115
charts, with the difference that in a 100% stacked chart each
116116
bar or column is normalized to a consistent value of 100%. Just
@@ -136,7 +136,7 @@ Column and bar charts provide the following sub-types:
136136
:alt: Colored Bar Chart Reference Small
137137

138138
For a more detailed example, refer to the
139-
:ref:`100% stacked bar chart example <100-stacked-example>`.
139+
:ref:`100% stacked bar chart example <one-hundred-stacked-example>`.
140140

141141
* - :ref:`Colored <colored-ref-example>`
142142
- |charts| creates a bar or column for each distinct value in the
@@ -230,7 +230,7 @@ directed by that director:
230230
:figwidth: 750px
231231
:alt: Stacked Column Chart Reference
232232

233-
.. _100-stacked-example:
233+
.. _one-hundred-stacked-example:
234234

235235
100% Stacked Bar Chart
236236
~~~~~~~~~~~~~~~~~~~~~~

source/chart-type-reference/data-table.txt

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -169,12 +169,9 @@ mean weekly price as currency.
169169
Blank table cells indicate that there are no documents that match
170170
the corresponding intersection of ``property_type`` and ``suburb``.
171171

172+
.. toctree::
173+
:titlesonly:
172174

173-
.. class:: hidden
174-
175-
.. toctree::
176-
:titlesonly:
177-
178-
/chart-type-reference/data-table/reorder-columns
179-
/chart-type-reference/data-table/sort-resize-columns
180-
/chart-type-reference/data-table/toggle-row-column-totals
175+
/chart-type-reference/data-table/reorder-columns
176+
/chart-type-reference/data-table/sort-resize-columns
177+
/chart-type-reference/data-table/toggle-row-column-totals

source/chart-type-reference/geo-spatial.txt

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,9 @@ intensity to compare concentrations of data points on a map.
7373
:figwidth: 700px
7474
:alt: Heatmap chart example
7575

76+
.. toctree::
77+
:titlesonly:
7678

77-
.. class:: hidden
78-
79-
.. toctree::
80-
:titlesonly:
81-
82-
/chart-type-reference/choropleth.txt
83-
/chart-type-reference/geospatial-scatter.txt
84-
/chart-type-reference/geospatial-heatmap
79+
/chart-type-reference/choropleth.txt
80+
/chart-type-reference/geospatial-scatter.txt
81+
/chart-type-reference/geospatial-heatmap

source/chart-type-reference/grid-charts.txt

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,8 @@ Grid Charts
2626
.. figure:: /images/charts/scatter-chart-small.png
2727
:figwidth: 100%
2828

29+
.. toctree::
30+
:titlesonly:
2931

30-
.. class:: hidden
31-
32-
.. toctree::
33-
:titlesonly:
34-
35-
/chart-type-reference/heatmap
36-
/chart-type-reference/scatter-chart
32+
/chart-type-reference/heatmap
33+
/chart-type-reference/scatter-chart

0 commit comments

Comments
 (0)