Skip to content
New issue

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

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

Already on GitHub? # to your account

For a multi-module project the header part of the template shows up after the first module #93

Open
katiaxyz opened this issue Aug 25, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@katiaxyz
Copy link

katiaxyz commented Aug 25, 2023

Describe the bug

The template header (starting with "Table of contents") does not start at the very top but after one of the modules.

To Reproduce

Steps to reproduce the behavior:

Create a Maven multi-module project and follow the samples for a multi-module project

Expected behavior
I would like to see the header part of the template at the very start of the template

Screenshots
Screenshot 2023-08-25 at 13 50 00

Additional context
Using version 1.6.1 and Maven

@katiaxyz katiaxyz added the bug Something isn't working label Aug 25, 2023
@nandorholozsnyak
Copy link
Member

Hello @katiaxyz

Thank you for the issue, let me take a look on it sometime, nowadays I was a bit busy, but I'm planning to coming back and pushing out new releases with fixes and new features. Thank you for raising these issues.

@katiaxyz
Copy link
Author

katiaxyz commented Sep 8, 2023

Not sure if it is a bug. By adding the <name> tag we can override the default name (name of the module where the configuration is done). Adding the configuration snippet in the pom.xml of the module.

<executions>
          <execution>
            <id>aggregate-docs-with-spring-related-configurations</id>
            <phase>package</phase>
            <goals>
              <goal>generate-and-aggregate-documents</goal>
            </goals>
            <configuration>
              <type>ADOC</type>
              <name>My service Configuration</name>
              <inputs>
                <input>
                  <name>Enter name</name>
                  <description>Enter description</description>
                  <input>../path-to-spring-configuration-metadata.json</input>
                  <excludedGroups>
                    <value>Unknown group</value>
                  </excludedGroups>
                </input>
              </inputs>
              <outputFile>../docs/asciidoc/my-properties.adoc</outputFile>
            </configuration>
          </execution>
        </executions>

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants