Skip to content

Commit 2ed14d3

Browse files
Bouncheckdkropachev
authored andcommitted
Replace {eval-rst} with eval_rst in manuals
Currently the previews built using `{eval-rst}` and myst_parser look to be more broken than switching back to `eval_rst` directive and adding the version to the list of branches using recommonmark. Specifically what seems to be pretty important and does not work with myst are relative links found in text like word 'integration' linking to ` http://localhost:5500/scylla-4.19.0.x/manual/core/index.html#integration/ ` This link should not treat `integration` as an anchor but as a subpage. This change makes the `make preview` and `make test` fail as it seems those targets try to use myst which does not understand `eval_rst` and only in `multiversion` those sections are understood by lexer correctly.
1 parent a2d30d7 commit 2ed14d3

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

manual/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Common topics:
3434
* [Case sensitivity](case_sensitivity/)
3535
* [OSGi](osgi/)
3636

37-
```{eval-rst}
37+
```eval_rst
3838
.. toctree::
3939
:hidden:
4040
:glob:

manual/core/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ for (ColumnDefinitions.Definition definition : row.getColumnDefinitions()) {
351351

352352
[CASSANDRA-10145]: https://issues.apache.org/jira/browse/CASSANDRA-10145
353353

354-
```{eval-rst}
354+
```eval_rst
355355
.. toctree::
356356
:hidden:
357357
:glob:

manual/core/configuration/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ config.getDefaultProfile().getInt(MyCustomOption.AWESOMENESS_FACTOR);
556556
[HOCON]: https://github.com/typesafehub/config/blob/master/HOCON.md
557557
[API conventions]: ../../api_conventions
558558

559-
```{eval-rst}
559+
```eval_rst
560560
.. toctree::
561561
:hidden:
562562
:glob:

manual/core/metadata/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ refreshed. See the [Performance](../performance/#debouncing) page for more detai
7979
[Metadata]: https://docs.datastax.com/en/drivers/java/4.17/com/datastax/oss/driver/api/core/metadata/Metadata.html
8080
[Node]: https://docs.datastax.com/en/drivers/java/4.17/com/datastax/oss/driver/api/core/metadata/Node.html
8181

82-
```{eval-rst}
82+
```eval_rst
8383
.. toctree::
8484
:hidden:
8585
:glob:

manual/core/statements/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ can create execution profiles to capture common combinations of those options).
8383
[execute]: https://docs.datastax.com/en/drivers/java/4.17/com/datastax/oss/driver/api/core/session/Session.html#execute-com.datastax.oss.driver.api.core.cql.Statement-
8484
[executeAsync]: https://docs.datastax.com/en/drivers/java/4.17/com/datastax/oss/driver/api/core/session/Session.html#executeAsync-com.datastax.oss.driver.api.core.cql.Statement-
8585

86-
```{eval-rst}
86+
```eval_rst
8787
.. toctree::
8888
:hidden:
8989
:glob:

manual/developer/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ from lowest to highest level:
3737

3838
If you're reading this on GitHub, the `.nav` file in each directory contains a suggested order.
3939

40-
```{eval-rst}
40+
```eval_rst
4141
.. toctree::
4242
:hidden:
4343
:glob:

manual/developer/common/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This covers utilities or concept that are shared throughout the codebase:
2727
* the [event bus](event_bus/) is used to decouple some of the internal components through
2828
asynchronous messaging.
2929

30-
```{eval-rst}
30+
```eval_rst
3131
.. toctree::
3232
:hidden:
3333
:glob:

manual/mapper/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ You can decide which logs to enable using the standard SLF4J mechanisms (categor
172172
addition, if you want no logs at all, it's possible to entirely remove them from the generated code
173173
with the Java compiler option `-Acom.datastax.oss.driver.mapper.logs.enabled=false`.
174174

175-
```{eval-rst}
175+
```eval_rst
176176
.. toctree::
177177
:hidden:
178178
:glob:

manual/mapper/config/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ You will find the generated files in `build/generated/sources/annotationProcesso
133133
* [Java 14 records](record/)
134134
* [Scala](scala/)
135135

136-
```{eval-rst}
136+
```eval_rst
137137
.. toctree::
138138
:hidden:
139139
:glob:

manual/mapper/daos/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ To control how the hierarchy is scanned, annotate interfaces with [@HierarchySca
173173
[@HierarchyScanStrategy]: https://docs.datastax.com/en/drivers/java/4.17/com/datastax/oss/driver/api/mapper/annotations/HierarchyScanStrategy.html
174174
[Entity Inheritance]: ../entities/#inheritance
175175

176-
```{eval-rst}
176+
```eval_rst
177177
.. toctree::
178178
:hidden:
179179
:glob:

0 commit comments

Comments
 (0)