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

Cylc Pygment lexer doesn't parse one-line "graph strings" correctly #80

Open
elliotfontaine opened this issue Jul 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@elliotfontaine
Copy link

Description

The exemple given in the docs uses a graph string spanning on multiple lines.

[scheduling]
    initial cycle point = 2000
    [[graph]]
        P1Y = """
            @wall_clock => foo? => bar
            (foo? & bar) => pub
        """

It is correctly rendered (see the previous link). But a single-line graph string without the 3 quotations marks isn't parsed correctly.

Reproducible Example

[scheduling]
    cycling mode = integer
    initial cycle point = 0
    [[graph]]
        R1/^ = foo => bar
        R1/+P1 = baz => bar

Try this in Sphinx.

@elliotfontaine elliotfontaine added the bug Something isn't working label Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant