valkey-io / valkey-io.github.io

BSD 3-Clause "New" or "Revised" License
33 stars 31 forks source link

Add the ability to pull in docs from `valkey-doc` #22

Closed stockholmux closed 5 months ago

stockholmux commented 5 months ago

Description

What does the doc-import layout do?

This allows the consumption of the existing markdown files in valkey-doc by stripping out the existing frontmatter (which is not relevant). Alternately, if there isn't front matter on the file (it doesn't start with ---) it still works.

This way we can keep the concerns separated: valkey-doc contains content, valkey-website contains metadata and site specific (templates, forward, etc.) information.

Issues Resolved

n/a

Check List

By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.