Skip to content

Commit 4969471

Browse files
author
Chris Cho
authored
Fix directive syntax and formatting (#58)
* Fix directive syntax and formatting
1 parent 07ca6d9 commit 4969471

File tree

6 files changed

+38
-34
lines changed

6 files changed

+38
-34
lines changed
Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
...
2-
Creating zookeeper ... done
3-
Creating broker ... done
4-
Creating schema-registry ... done
5-
Creating connect ... done
6-
Creating rest-proxy ... done
7-
Creating mongo1 ... done
8-
Creating mongo1-setup ... done
1+
.. code-block:: text
2+
:copyable: false
3+
4+
...
5+
Creating zookeeper ... done
6+
Creating broker ... done
7+
Creating schema-registry ... done
8+
Creating connect ... done
9+
Creating rest-proxy ... done
10+
Creating mongo1 ... done
11+
Creating mongo1-setup ... done

source/includes/tutorials/setup/status-setup.out

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
.. code-block:: text
2+
:copyable: false
3+
4+
Kafka topics:
5+
6+
"topic": "docker-connect-status",
7+
"topic": "docker-connect-offsets",
8+
"topic": "docker-connect-configs",
9+
"topic": "__consumer_offsets",
10+
11+
The status of the connectors:
12+
13+
14+
Currently configured connectors
15+
16+
[]
17+
18+
19+
Version of MongoDB Connector for Apache Kafka installed:
20+
21+
{"class":"com.mongodb.kafka.connect.MongoSinkConnector","type":"sink","version":"1.8.0"}
22+
{"class":"com.mongodb.kafka.connect.MongoSourceConnector","type":"source","version":"1.8.0"}

source/quick-start.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ When you start the sandbox, Docker downloads any images it needs to run.
7979
After Docker downloads and builds the images, you should see the following
8080
output in your development environment:
8181

82-
.. literalinclude:: /includes/tutorials/docker-success.txt
83-
:language: text
82+
.. include:: /includes/tutorials/docker-success.txt
8483

8584
.. include:: /includes/tutorials/port-mapping-note.rst
8685

source/tutorials/explore-change-streams.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ Explore Change Streams
6060

6161
.. literalinclude:: /includes/tutorials/change-streams/openchangestream.py
6262
:language: python
63-
:copyable: true
6463

6564
Run the Python script:
6665

source/tutorials/tutorial-setup.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Set Up Your Development Environment with Docker
9898
When the command completes successfully, it outputs the following
9999
text:
100100

101-
.. include:: /includes/tutorials/docker-success.rst
101+
.. include:: /includes/tutorials/docker-success.txt
102102

103103
.. step:: Verify the Successful Setup
104104

@@ -112,8 +112,8 @@ Set Up Your Development Environment with Docker
112112
This command should output the following information if the Docker
113113
development environment was set up successfully:
114114

115-
..literalinclude:: /includes/tutorials/status-setup.out
116-
115+
.. include:: /includes/tutorials/setup/status-setup.txt
116+
117117
Since you have not started the connectors, the status and configured
118118
list are empty.
119119

@@ -127,4 +127,4 @@ Set Up Your Development Environment with Docker
127127

128128
.. code-block:: text
129129

130-
mongodb://localhost:{+mongodb-port-mapping+}/?directConnection=true
130+
mongodb://localhost:{+mongodb-port-mapping+}/?directConnection=true

0 commit comments

Comments
 (0)