cloud-gov / product

Program-level artifacts, workflow and issues for cloud.gov
Creative Commons Zero v1.0 Universal
31 stars 15 forks source link

Upstream CF docs should be discoverable via cloud.gov #1780

Open mogul opened 2 years ago

mogul commented 2 years ago

In order to ensure our users can find their way to all the relevant documentation for our service, we want to ensure upstream CF documentation is incorporated into cloud.gov navigation and search results.

Acceptance Criteria

Documentation we should be including:


Security considerations

No concerns. All of the information to be published is already public at docs.cloudfoundry.org.

Implementation sketch

The upstream "book" repository uses an obsolete set of Gems and Ruby versions to process the files in the various repositories with a Ruby-centric static site generator, Middleman. The repository processes the ERBs into Markdown, and then the Markdown into a full site, served by Ruby, using template HTML/JS/CSS layouts to generate the content.

cg-site is a Hugo repository for generating the cloud.gov static site. Hugo only needs Markdown for input, since it already has its own layout for the cloud.gov branding and style. So rather than using Middleman, bookbinder, specific Gem and Ruby versions, etc. we can just process the ERB content to generate Markdown, and stop there.

mogul commented 2 years ago

This is an important shortcoming of cg-site to address, but maybe not the most important. We are removing it from the board with the anticipation that it will be considered alongside other website improvements in a dedicated backlog, potentially by a team that is prepared to own that dedicated backlog.

mogul commented 2 years ago

Arsalan and I got together with some Rubyists to discuss the problem. I edited the top post to include some of what we learned about how to process the upstream docs for inclusion in cg-site.