Skip to content

Commit

Permalink
use variable for WT docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kay-kim committed Oct 10, 2016
1 parent bfab563 commit 0ed22d5
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 17 deletions.
4 changes: 3 additions & 1 deletion conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ def has(self, *args):
'mms-docs': ('https://docs.cloudmanager.mongodb.com%s', ''),
'mms-home': ('https://www.mongodb.com/cloud/cloud-manager%s', ''),
'opsmgr': ('https://docs.opsmanager.mongodb.com/current%s', ''),
'products': ('https://www.mongodb.com/products%s', '')
'products': ('https://www.mongodb.com/products%s', ''),
'wtdocs': ('http://source.wiredtiger.com/mongodb-3.4%s', ''),

}

## add `extlinks` for each published version.
Expand Down
11 changes: 5 additions & 6 deletions source/includes/options-mongod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1659,8 +1659,7 @@ description: |
.. versionadded:: 3.0.0
Specifies the WiredTiger storage engine configuration at start up
time. See the `WiredTiger storage engine options
<http://source.wiredtiger.com/2.4.1/group__wt.html#ga9e6adae3fc6964ef837a62795c7840ed>`_.
time. See the :wtdocs:`WiredTiger storage engine options </group__wt.html>`.
optional: true
---
program: mongod
Expand All @@ -1671,8 +1670,8 @@ description: |
.. versionadded:: 3.0.0
{{intro}} WiredTiger settings for all new collections.
See the `WiredTiger collection-level options
<http://source.wiredtiger.com/2.4.1/struct_w_t___s_e_s_s_i_o_n.html#a358ca4141d59c345f401c58501276bbb>`_.
See the :wtdocs:`WiredTiger collection-level options
</struct_w_t___s_e_s_s_i_o_n.html>`.
optional: true
replacement:
intro: "Changes"
Expand All @@ -1685,8 +1684,8 @@ description: |
.. versionadded:: 3.0.0
{{intro}} WiredTiger settings for all new indexes.
See the `WiredTiger collection-level options
<http://source.wiredtiger.com/2.4.1/struct_w_t___s_e_s_s_i_o_n.html#a358ca4141d59c345f401c58501276bbb>`_.
See the :wtdocs:`WiredTiger collection-level options
</struct_w_t___s_e_s_s_i_o_n.html>`.
optional: true
replacement:
intro: "Changes"
Expand Down
4 changes: 2 additions & 2 deletions source/reference/command/create.txt
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,6 @@ options when you create a collection with

This operation creates a new collection named ``users`` with a
specific configuration string that MongoDB will pass to the
``wiredTiger`` storage engine. See the `WiredTiger documentation of
collection level options <http://source.wiredtiger.com/2.4.1/struct_w_t___s_e_s_s_i_o_n.html#a358ca4141d59c345f401c58501276bbb>`_
``wiredTiger`` storage engine. See the :wtdocs:`WiredTiger documentation of
collection level options </struct_w_t___s_e_s_s_i_o_n.html>`
for specific ``wiredTiger`` options.
8 changes: 4 additions & 4 deletions source/reference/glossary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -895,8 +895,8 @@ Glossary
Snappy is the default compression
library for MongoDB's use of :ref:`WiredTiger
<storage-wiredtiger>`. See `Snappy
<https://google.github.io/snappy/>`_ and the `WiredTiger compression
documentation <http://source.wiredtiger.com/2.4.1/compression.html>`_
<https://google.github.io/snappy/>`_ and the :wtdocs:`WiredTiger compression
documentation </compression.html>`
for more information.

split
Expand Down Expand Up @@ -1070,8 +1070,8 @@ Glossary
at the cost of more CPU, compared to MongoDB's use of
:term:`snappy`. You can configure :ref:`WiredTiger
<storage-wiredtiger>` to use zlib as its compression library. See
http://www.zlib.net and the `WiredTiger compression documentation
<http://source.wiredtiger.com/2.4.1/compression.html>`_ for more
http://www.zlib.net and the :wtdocs:`WiredTiger compression documentation
</compression.html>` for more
information.

zone
Expand Down
4 changes: 2 additions & 2 deletions source/reference/method/db.createCollection.txt
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,6 @@ options when you create a collection with

This operation creates a new collection named ``users`` with a
specific configuration string that MongoDB will pass to the
``wiredTiger`` storage engine. See the `WiredTiger documentation of
collection level options <http://source.wiredtiger.com/2.4.1/struct_w_t___s_e_s_s_i_o_n.html#a358ca4141d59c345f401c58501276bbb>`_
``wiredTiger`` storage engine. See the :wtdocs:`WiredTiger documentation of
collection level options </struct_w_t___s_e_s_s_i_o_n.html>`_
for specific ``wiredTiger`` options.
4 changes: 2 additions & 2 deletions source/reference/parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -939,8 +939,8 @@ WiredTiger Parameters
"wiredTigerEngineRuntimeConfig": "<option>=<setting>,<option>=<setting>"
})

See the WiredTiger documentation for all available `WiredTiger
configuration options <http://source.wiredtiger.com/2.4.1/struct_w_t___c_o_n_n_e_c_t_i_o_n.html#a579141678af06217b22869cbc604c6d4>`_.
See the WiredTiger documentation for all available :wtdocs:`WiredTiger
configuration options </struct_w_t___c_o_n_n_e_c_t_i_o_n.html#>`.

Auditing Parameters
~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit 0ed22d5

Please sign in to comment.