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
Switch from literal includes to {{readFile}} invocations. #1409
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: evankanderson The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Sorry, i need to block some time to complete the docs maintainer info but a really short version of the local testing instructions are here: #1239 (comment) |
I think the "out of the box" version of that Hugo command requires file paths relative to the site root. But, i created an override version to use relative files (readfile.md) - that way content will work as it gets "versioned" (moved into an archive folder not at root). For example (_index.md):
Maybe we can modify it to include a |
A few things need to get merged (and then tested) but the support for including code is here: knative/website#63 |
I'm generally not a fan of this. While it makes our website stay up to day, it makes the markdown not readable without manually parsing these tags. I know it's a pain to keep the content up to date in two places, but I think that pain is worth the ability to read these markdown files. |
The markdown seems fairly straightforward, and helps to ensure that the file contents actually align: I still need to merge and figure out how to validate the hugo/netlify templates, but I've been buried under other Google work. |
Issues go stale after 90 days of inactivity. Send feedback to Knative Productivity Slack channel or file an issue in knative/test-infra. /lifecycle stale |
@evankanderson: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Stale issues rot after 30 days of inactivity. Send feedback to Knative Productivity Slack channel or file an issue in knative/test-infra. /lifecycle rotten |
Rotten issues close after 30 days of inactivity. Send feedback to Knative Productivity Slack channel or file an issue in knative/test-infra. /close |
@knative-housekeeping-robot: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Proposed Changes
I need instructions on how to test if this worked correctly -- any tips or a writeup I can use?
Note that filenames and
pubspec.yaml
had actually drifted slightly from the content in GitHub, which is why it would be nice to do includes like this.I also have a question out to @jonasfj about the Dockerfile contents, which don't seem to COPY or build the dart application.