diff --git a/.github/workflows/check-autobuilder.yml b/.github/workflows/check-autobuilder.yml deleted file mode 100644 index 8495db969..000000000 --- a/.github/workflows/check-autobuilder.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: Check Autobuilder for Errors - -on: - pull_request: - paths: - - "source/**" - -jobs: - check: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: cbush/snooty-autobuilder-check@main diff --git a/source/fundamentals/connection/jndi.txt b/source/fundamentals/connection/jndi.txt index 56d66da19..c1e863479 100644 --- a/source/fundamentals/connection/jndi.txt +++ b/source/fundamentals/connection/jndi.txt @@ -1,4 +1,5 @@ .. _jndi: +.. _java-sync-jndi: ============================================= Connect to MongoDB by Using a JNDI Datasource @@ -47,9 +48,7 @@ JNDI Datasource. Add the following ``module.xml`` file into the module: - .. literalinclude:: /includes/fundamentals/code-snippets/wildfly-module-with-version.xml - :language: xml - + .. include:: /includes/fundamentals/code-snippets/wildfly-module-with-version.rst #. Add a binding to the naming subsystem configuration that references the preceding module, the ``MongoClientFactory`` class, and the diff --git a/source/includes/fundamentals/code-snippets/wildfly-module-with-version.rst b/source/includes/fundamentals/code-snippets/wildfly-module-with-version.rst new file mode 100644 index 000000000..1a86ee8fb --- /dev/null +++ b/source/includes/fundamentals/code-snippets/wildfly-module-with-version.rst @@ -0,0 +1,16 @@ +.. code-block:: xml + :caption: module.xml + + + + + + + + + + + + + + \ No newline at end of file diff --git a/source/includes/fundamentals/code-snippets/wildfly-module-with-version.xml b/source/includes/fundamentals/code-snippets/wildfly-module-with-version.xml deleted file mode 100644 index b1fd9e6b5..000000000 --- a/source/includes/fundamentals/code-snippets/wildfly-module-with-version.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file