Skip to content

Commit d87e239

Browse files
committed
update/replace deprecated directives
1 parent ce6b67b commit d87e239

File tree

6 files changed

+41
-51
lines changed

6 files changed

+41
-51
lines changed

source/index.txt

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -96,16 +96,14 @@ versions of Apache Spark and MongoDB:
9696
- **November 1, 2016**, `MongoDB Connector for Spark v2.0.0
9797
<https://www.mongodb.com/products/spark-connector>`_ Released.
9898

99-
.. class:: hidden
100-
101-
.. toctree::
102-
:titlesonly:
103-
104-
configuration
105-
scala-api
106-
java-api
107-
python-api
108-
r-api
109-
faq
110-
release-notes
111-
API Docs <https://www.javadoc.io/doc/org.mongodb.spark/mongo-spark-connector_2.11/{+current-version+}>
99+
.. toctree::
100+
:titlesonly:
101+
102+
configuration
103+
scala-api
104+
java-api
105+
python-api
106+
r-api
107+
faq
108+
release-notes
109+
API Docs <https://www.javadoc.io/doc/org.mongodb.spark/mongo-spark-connector_2.11/{+current-version+}>

source/java-api.txt

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Spark Connector Java Guide
44

55
.. default-domain:: mongodb
66

7-
.. admonition:: Source Code
7+
.. note:: Source Code
88

99
For the source code that combines all of the Java examples, see
1010
:mongo-spark:`JavaIntroduction.java
@@ -117,12 +117,10 @@ Tutorials
117117
- :doc:`/java/aggregation`
118118
- :doc:`/java/datasets-and-sql`
119119

120-
.. class:: hidden
120+
.. toctree::
121+
:titlesonly:
121122

122-
.. toctree::
123-
:titlesonly:
124-
125-
/java/write-to-mongodb
126-
/java/read-from-mongodb
127-
/java/aggregation
128-
/java/datasets-and-sql
123+
/java/write-to-mongodb
124+
/java/read-from-mongodb
125+
/java/aggregation
126+
/java/datasets-and-sql

source/python-api.txt

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Spark Connector Python Guide
1010
:depth: 2
1111
:class: singlecol
1212

13-
.. admonition:: Source Code
13+
.. note:: Source Code
1414

1515
For the source code that contains the examples below, see
1616
:mongo-spark:`introduction.py
@@ -76,13 +76,11 @@ Tutorials
7676
- :doc:`/python/aggregation`
7777
- :doc:`/python/filters-and-sql`
7878

79-
.. class:: hidden
79+
.. toctree::
80+
:titlesonly:
8081

81-
.. toctree::
82-
:titlesonly:
83-
84-
/python/write-to-mongodb
85-
/python/read-from-mongodb
86-
/python/aggregation
87-
/python/filters-and-sql
82+
/python/write-to-mongodb
83+
/python/read-from-mongodb
84+
/python/aggregation
85+
/python/filters-and-sql
8886

source/r-api.txt

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Spark Connector R Guide
44

55
.. default-domain:: mongodb
66

7-
.. admonition:: Source Code
7+
.. note:: Source Code
88

99
For the source code that contains the examples below, see
1010
:mongo-spark:`introduction.R
@@ -67,12 +67,10 @@ Tutorials
6767
- :doc:`/r/aggregation`
6868
- :doc:`/r/filters-and-sql`
6969

70-
.. class:: hidden
70+
.. toctree::
71+
:titlesonly:
7172

72-
.. toctree::
73-
:titlesonly:
74-
75-
/r/write-to-mongodb
76-
/r/read-from-mongodb
77-
/r/aggregation
78-
/r/filters-and-sql
73+
/r/write-to-mongodb
74+
/r/read-from-mongodb
75+
/r/aggregation
76+
/r/filters-and-sql

source/scala-api.txt

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Spark Connector Scala Guide
44

55
.. default-domain:: mongodb
66

7-
.. admonition:: Source Code
7+
.. note:: Source Code
88

99
For the source code that contains the examples below, see
1010
:mongo-spark:`Introduction.scala
@@ -139,13 +139,11 @@ Tutorials
139139
- :doc:`/scala/datasets-and-sql`
140140
- :doc:`/scala/streaming`
141141

142-
.. class:: hidden
142+
.. toctree::
143+
:titlesonly:
143144

144-
.. toctree::
145-
:titlesonly:
146-
147-
/scala/write-to-mongodb
148-
/scala/read-from-mongodb
149-
/scala/aggregation
150-
/scala/datasets-and-sql
151-
/scala/streaming
145+
/scala/write-to-mongodb
146+
/scala/read-from-mongodb
147+
/scala/aggregation
148+
/scala/datasets-and-sql
149+
/scala/streaming

source/scala/datasets-and-sql.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Datasets and SQL
44

55
.. default-domain:: mongodb
66

7-
.. admonition:: Source Code
7+
.. note:: Source Code
88

99
For the source code that contains the examples below, see
1010
:mongo-spark:`SparkSQL.scala

0 commit comments

Comments
 (0)