Skip to content

Incorrect file type for C++ API docs (and other pages) - .md vs .mdx #1375

@colinbarry

Description

@colinbarry

Some pages seem to be .md files, rather than .mdx. Because .md files don't support JSX, any embedded JSX components are rendered incorrectly with surrounding { } braces. For example, in ./pages/custom-query-modules/cpp/cpp-api.md, the following line:

{<h4 className="custom-header"> Input: </h4>}

is rendered incorrectly. You can see the rendering problem here, just below "AddProcedure".

These are the docs files that are currently .md:

./pages/data-streams/manage-streams-query.md
./pages/data-migration/migrate-from-rdbms-directly.md
./pages/data-migration/export-data.md
./pages/advanced-algorithms/utilize-networkx.md
./pages/database-management/multi-tenancy.md
./pages/database-management/server-stats.md
./pages/querying/read-and-modify-data.md
./pages/querying/clauses/return.md
./pages/querying/clauses/explain.md
./pages/querying/clauses/union.md
./pages/querying/clauses/set.md
./pages/querying/clauses/unwind.md
./pages/querying/clauses/optional-match.md
./pages/querying/clauses/delete.md
./pages/querying/clauses/with.md
./pages/querying/clauses/remove.md
./pages/querying/clauses/profile.md
./pages/querying/clauses/where.md
./pages/querying/exploring-datasets.md
./pages/querying/exploring-datasets/exploring-the-european-road-network.md
./pages/querying/exploring-datasets/movie-recommendation.md
./pages/querying/exploring-datasets/football-transfers.md
./pages/querying/exploring-datasets/backpacking-through-europe.md
./pages/querying/exploring-datasets/graphing-the-premier-league.md
./pages/querying/exploring-datasets/marvel-universe.md
./pages/querying/exploring-datasets/analyzing-ted-talks.md
./pages/querying/exploring-datasets/got-deaths.md
./pages/custom-query-modules/python/implement-custom-query-module-in-python.md
./pages/custom-query-modules/python/mock-python-api.md
./pages/custom-query-modules/rust/rust-api.md
./pages/custom-query-modules/cpp/cpp-api.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions