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

Complete schemas-only anchors #9

Merged
merged 1 commit into from
Jul 25, 2024
Merged

Complete schemas-only anchors #9

merged 1 commit into from
Jul 25, 2024

Conversation

manuelfuenmayor
Copy link
Contributor

Fixes https://github.com/metanorma/iso-10303/issues/73

In this PR, I have just completed the anchors of the schemas-only docs.
I've confirmed the anchors fulfill with this structure:

== action_schema [[action_schema_funds]]
{% if schema.constants.size > 0 %}[[action_schema.constants]]{% for thing in schema.constants %}[[action_schema.{{thing.id | replace: "\", "-"}}]]{% endfor %}{% endif %}
{% if schema.types.size > 0 %}[[action_schema.types]]{% for thing in schema.types %}[[action_schema.{{thing.id | replace: "\", "-"}}]]
{% if thing.items.size > 0 %}[[action_schema.{{thing.id | replace: "\", "-"}}.items]]{% for item in thing.items %}[[action_schema.{{thing.id | replace: "\", "-"}}.items.{{item.id | replace: "\", "-"}}]]{% endfor %}{% endif %}{% endfor %}{% endif %}
{% if schema.entities.size > 0 %}[[action_schema.entities]]{% for thing in schema.entities %}[[action_schema.{{thing.id | replace: "\", "-"}}]]{% endfor %}{% endif %}

@manuelfuenmayor manuelfuenmayor requested a review from opoudjis July 23, 2024 03:24
@opoudjis opoudjis self-assigned this Jul 23, 2024
Copy link
Contributor

@opoudjis opoudjis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I honestly reacted with "what, is that it?" But... ok!

@opoudjis
Copy link
Contributor

@manuelfuenmayor TRThurman had said:

  • CONSTANTS and
  • INTERFACEs

also need to be rendered.

I see constants; what about interfaces?

@opoudjis opoudjis merged commit 66a1ed5 into main Jul 25, 2024
2 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants