Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - Italics in docs #847

Closed
clizbe opened this issue Oct 8, 2024 · 1 comment · Fixed by #872
Closed

[BUG] - Italics in docs #847

clizbe opened this issue Oct 8, 2024 · 1 comment · Fixed by #872
Labels
bug Something doesn't work correctly

Comments

@clizbe
Copy link
Member

clizbe commented Oct 8, 2024

Description

Once again we have a weird italics problem in the docs. It's in the Schemas section this time.
Can fix it using `

image

Reproduction steps

Look at the docs: How to Use > Input > Schemas

Logs

No response

OS

No response

@clizbe clizbe added bug Something doesn't work correctly Zone: documentation labels Oct 8, 2024
@abelsiqueira
Copy link
Member

I think this is the place: https://github.com/TulipaEnergy/TulipaEnergyModel.jl/blob/main/docs/src/how-to-use.md#schemasid-schemas
The code is reproduced below:

using Markdown, TulipaEnergyModel

Markdown.parse(
    join(["- **$filename**\n" *
        join(
            ["  - `$f: $t`" for (f, t) in schema],
            "\n",
        ) for (filename, schema) in TulipaEnergyModel.schema_per_table_name
    ] |> sort, "\n")
)

I think we have to replace the "" in filename by "_" (or "\") and that should fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something doesn't work correctly
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants