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

Run custom actions after rendering #18

Closed
BernieWhite opened this issue May 23, 2018 · 1 comment · Fixed by #142
Closed

Run custom actions after rendering #18

BernieWhite opened this issue May 23, 2018 · 1 comment · Fixed by #142
Assignees
Labels
enhancement A request to change or add to current behaviour

Comments

@BernieWhite
Copy link
Member

BernieWhite commented May 23, 2018

PSDocs is able to generate markdown based on objects. When building documentation sites it is often additionally required to generate a table of contents (TOC) in markdown or yaml for processing by a publishing tool chain.

Currently the Get-PSDocumentHeader cmdlet can be used to extract yaml front matter from markdown and build a TOC however a more integrated solution would be preferred.

Potentially something like:

document 'Sample' {
   Section 'Header 1' {
      'Section text'
   }

   Index {
      # An indexing action
   }
}
@BernieWhite BernieWhite added the enhancement A request to change or add to current behaviour label May 23, 2018
@BernieWhite BernieWhite added this to the v0.4.0 milestone May 23, 2018
@BernieWhite BernieWhite self-assigned this May 23, 2018
@BernieWhite BernieWhite modified the milestones: v0.4.0, v0.5.0 May 27, 2018
@BernieWhite BernieWhite modified the milestones: v0.5.0, v0.6.0 Jul 2, 2018
@BernieWhite
Copy link
Member Author

Improvements in the pipeline engine have made progress toward this feature. A new keyword may not need to be introduced. Using an options delegate hook may offer a better approach.

@BernieWhite BernieWhite removed this from the v0.6.0 milestone Oct 2, 2018
BernieWhite added a commit that referenced this issue Feb 12, 2021
This was referenced Feb 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A request to change or add to current behaviour
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant