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

Use yaml2text to replace part-specific T&D section #15

Closed
wants to merge 1 commit into from

Conversation

ronaldtse
Copy link
Member

This PR replaces this:

=== General

include::terms/concept-192-01*.adoc[]

=== States and times

include::terms/concept-192-02*.adoc[]

=== Reliability related concepts: failures

include::terms/concept-192-03*.adoc[]

=== Reliability related concepts: faults

include::terms/concept-192-04*.adoc[]
...

With a yaml2text block:

[yaml2text,iev-192.yaml,data]
----
{% for section in data.sections %}
=== {{section[1].title}}

include::terms/concept-{{ section[0] }}-*.adoc[]

{% endfor %}
----

However, this results in:

image

This is a yaml2text bug that needs to be fixed.

@ronaldtse
Copy link
Member Author

Superseded by #16, thanks to @opoudjis .

@ronaldtse ronaldtse closed this Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant