Skip to content

Rename/docs to output - #31

Merged
noha merged 2 commits into
masterfrom
rename/docs-to-output
Jul 23, 2026
Merged

noha merged 2 commits into
masterfrom
rename/docs-to-output

Conversation

@noha

@noha noha commented Jul 23, 2026

Copy link
Copy Markdown
Owner

No description provided.

noha added 2 commits July 23, 2026 16:04
Norbert pointed out the inconsistency: contentPath/dataPath/templatePath
all got their method names renamed to match the new content/data/
template folder scheme, but targetPath only had its default *value*
renamed (docs -> output in the previous commit), not the accessor itself.
Renamed targetPath/targetPath:/defaultTargetPath to outputPath/
outputPath:/defaultOutputPath throughout (FOWebSite, FOWebResource,
FOPublisher, and all call sites in tests) for full symmetry:
contentPath/dataPath/templatePath/outputPath.

FOPublisher's own defaultTargetPath value ('generated') stays as-is,
same reasoning as before - it's an independent default, not part of
this rename.
…page

Found while verifying the data/series/<slug>.md feature against real
content: blog/series/soil.html (the individual series overview page)
never actually used FOSeries>>abstract at all - only blog/series/
index.html (the listing of all series) did. So a hand-written abstract
only ever showed up in the site-wide series index, never on the series'
own page, which is the more natural place a reader would expect to see
it.

FOSeries>>hasCustomAbstract exposes whether a data/series/<slug>.md
actually exists (not just "abstract text is available", which is always
true via the auto-derived fallback). FOSeriesOverviewBuilder>>buildPage
now shows the abstract as a plain <p> intro before the list of post
abstracts, but only when hasCustomAbstract - showing the auto-derived
one unconditionally would just duplicate the first post's own text
redundantly. Deliberately not using the templated 'series-abstract'
listing entry (title+link+partCount) here - a self-referential link
back to the very page you're on doesn't make sense outside a listing
context.

Verified against the real data/series/soil.md Norbert already wrote:
now appears as the intro paragraph on blog/series/soil.html.
@noha
noha merged commit 584cdb7 into master Jul 23, 2026
4 checks passed
@noha
noha deleted the rename/docs-to-output branch July 23, 2026 14:24
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