Closed aliok closed 4 years ago
Hey @aliok -- do you mean building the docs to see how they'll appear on the knative.dev website? If that's the case, @RichieEscarez can help with that.
It's true that the markdown rendering on the website isn't perfectly in sync with GitHub's own markdown rendering; I have seen some formatting issues. We'd love for you to look into those.
Hey @aliok -- do you mean building the docs to see how they'll appear on the knative.dev website? If that's the case, @RichieEscarez can help with that.
@samodell yes, exactly. Some Markdown content is rendered strange and I wanted to debug them locally. But I don't know what kind of set up is used here.
Ok, now I found it. https://github.com/knative/website is building it.
I will send a PR to note this in the docs repo.
Status: I will open a PR for this some time tomorrow (sorry, our team has been out of office the first part of the week at a workshop so playing catch up now).
@sebgoa @aliok For the interim, the local build steps are generally:
content/en
foldercontent/en
folder (of knative/website)hugo server
from the root of knative/website and open your localhostThere is a little more to this (small details) but Ill consolidate all these steps and the missing detail into a single page.
Instructions and the new local build script are here: https://github.com/knative/website/pull/72/files
(a formal instruction page might come after the 0.8 release)
Thanks @RichieEscarez Didn't have a chance to verify the instructions and the script but I am ok with resolving this ticket. If I have a chance, I would write here regardless.
@RichieEscarez just had a chance to give the script a try. It works great.
I guess we cannot have a README.md on the website repo as it would be rendered as well, right? Can we have a txt file that is not rendered?
Would be nice to see how to build the website quickly, instead of looking inside the script
That's great to hear @aliok. I will eventually add a README the knative/website repo. Other than the fact that the process seems to change from month to month as I fix or improve things, I do have other priorities right now. We are restructuring all of our content right now but after that I'll be able to document all these administration type steps.
Issues go stale after 90 days of inactivity.
Mark the issue as fresh by adding the comment /remove-lifecycle stale
.
Stale issues rot after an additional 30 days of inactivity and eventually close.
If this issue is safe to close now please do so by adding the comment /close
.
Send feedback to Knative Productivity Slack channel or file an issue in knative/test-infra.
/lifecycle stale
Stale issues rot after 30 days of inactivity.
Mark the issue as fresh by adding the comment /remove-lifecycle rotten
.
Rotten issues close after an additional 30 days of inactivity.
If this issue is safe to close now please do so by adding the comment /close
.
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.
Reopen the issue with /reopen
.
Mark the issue as fresh by adding the comment /remove-lifecycle rotten
.
Send feedback to Knative Productivity Slack channel or file an issue in knative/test-infra.
/close
@knative-housekeeping-robot: Closing this issue.
Describe the change you'd like to see Instructions on how to build the docs locally.
Additional context I noticed some formatting errors and wanted to debug them but I can't debug without being able to build the docs locally.