Skip to content

Conversation

@schivmeister
Copy link
Contributor

Replicate the existing HTML meta-templates, with a view towards the following output directory structure when the generation is implemented:

output/
  └── <ap_name>/
      └── asciidoc/
          ├── main.adoc
          ├── statistics.adoc
          ├── <class_name>/
          │   ├── added_instance_<class>.adoc
          │   ├── deleted_instance_<class>.adoc
          │   └── <property_group>/
          │       ├── added_property_<property>.adoc
          │       └── ...
          └── static/
              ├── layout.adoc
              └── macros.adoc

HTML → AsciiDoc conversions:

  • <h1>, <h2>, <h3>=, ==, ===
  • <p> → Plain text paragraphs
  • <strong>*bold*
  • HTML tables → AsciiDoc tables ([cols=...], |===, |)
  • Removed HTML/CSS/JavaScript (not needed in AsciiDoc)

Preserved:

  • Jinja2 template logic (if/for blocks, variables, macros)
  • Template structure and includes
  • Data processing macros

Thanks to CursorAI.

@schivmeister schivmeister self-assigned this Nov 11, 2025
Replicate the existing HTML meta-templates, with a view towards the
following output directory structure when the generation is implemented:

```
output/
  └── <ap_name>/
      └── asciidoc/
          ├── main.adoc
          ├── statistics.adoc
          ├── <class_name>/
          │   ├── added_instance_<class>.adoc
          │   ├── deleted_instance_<class>.adoc
          │   └── <property_group>/
          │       ├── added_property_<property>.adoc
          │       └── ...
          └── static/
              ├── layout.adoc
              └── macros.adoc
```

HTML → AsciiDoc conversions:

- `<h1>, <h2>, <h3>` → `=, ==, ===`
- `<p>` → Plain text paragraphs
- `<strong>` → `*bold*`
- HTML tables → AsciiDoc tables (`[cols=...]`, `|===, |`)
- Removed HTML/CSS/JavaScript (not needed in AsciiDoc)

Preserved:

- Jinja2 template logic (if/for blocks, variables, macros)
- Template structure and includes
- Data processing macros

Thanks to CursorAI.
@schivmeister schivmeister force-pushed the feature/DIF1-31_asciidoc-jinja branch from acdf604 to be97e6f Compare November 11, 2025 18:45
Copy link
Contributor

@costezki costezki left a comment

Choose a reason for hiding this comment

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

looks fine

@schivmeister schivmeister merged commit a8175d5 into main Nov 12, 2025
2 checks passed
@schivmeister schivmeister deleted the feature/DIF1-31_asciidoc-jinja branch November 12, 2025 09:25
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.

3 participants