Philippe Rivière
Philippe Rivière
I was imagining the page generator ([parseMarkdown](https://github.com/observablehq/cli/blob/c2caeabe9fd057e5bcb31d70b2eda9ce7196fc1f/src/markdown.ts#L336)?) would have access to the `path` (and pass it probably in the `context`), so we could (or a theme could) add a “view...
related #739
Here's my take on this, in observablehq.config.js: ```js const SOURCE_REPO = "https://github.com/USER/PROJECT/blob/main/docs"; const VIEW_SOURCE = ` a.view-source { position: absolute; top: 0; right: 0; font: 700 18px var(--sans-serif); text-decoration: none...
I think we have enough possibilities now for a user to add their own links in header or footer. It could be nice to support passing these options as functions...
@chriscooning this issue is about "CI" (one of the tests we can do before deploying). There could be more.
I've added RSS to the issue; we could make two issues when the time comes. RSS won't be useful for many projects, but some which regularly add pages will want...
#843 removed client-side access to the search index. It was the closest thing we had to a sitemap.xml/rss list of contents, but now only `search.js` knows where this file can...
I wrote a postbuild script to add a simple sitemap [to pangea](https://observablehq.observablehq.cloud/pangea/sitemap.txt), with the proper headers that reference it. https://github.com/Fil/pangea/blob/e179717808c66526d5e17a933245f7fe6b91851b/package.json#L7-L8 https://github.com/Fil/pangea/blob/e179717808c66526d5e17a933245f7fe6b91851b/observablehq.config.ts#L101 It would still be nice to have an easier...
For more discussion, see https://github.com/observablehq/framework/discussions/1199#discussioncomment-10561389
I can see how we could generate it from all links found in the static pages (since it would be nice to test links anyway, per #363), but also how...