Skip to content

docs: add Netlify configuration for docs hosting migration #6930

Open
harshitghagre wants to merge 5 commits into
pipe-cd:masterfrom
harshitghagre:migrate-docs-to-netlify
Open

docs: add Netlify configuration for docs hosting migration #6930
harshitghagre wants to merge 5 commits into
pipe-cd:masterfrom
harshitghagre:migrate-docs-to-netlify

Conversation

@harshitghagre

Copy link
Copy Markdown
Contributor

What this PR does:

Why we need it:

Which issue(s) this PR fixes:

Fixes #6801

Does this PR introduce a user-facing change?:

  • How are users affected by this change:
  • Is this breaking change:
  • How to migrate (if breaking change):

)

Signed-off-by: harshitghagre <harshitghagre183@gmail.com>

@Ayushmore1214 Ayushmore1214 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@harshitghagre can we get some screenshots of this working ? I'm having some issue with it, I don't if its my env or the your code can you drop some outputs of this running, thanks!

@harshitghagre

Copy link
Copy Markdown
Contributor Author

@harshitghagre can we get some screenshots of this working ? I'm having some issue with it, I don't if its my env or the your code can you drop some outputs of this running, thanks!

thanks for review @Ayushmore1214 , you can test on this url https://pipecd-docs.netlify.app/

Comment thread hack/gen-release-docs.sh

@khanhtc1202 khanhtc1202 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked the testing link, it looks great. I left one comment on script update.
Also, why was the site on netlify doesn't contain the docs for v0.56.x?

Comment thread docs/README.md Outdated
Run `make run/site` at the root directory of the repository and then access http://localhost:1313
1. Install dependencies:
```
cd docs && npm ci

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this npm ci work? Since there is no script named ci in the docs/package.json
Also, do we really need to run a CI check (or whatever) every time I want to test the docs locally? It looks redundant to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move PipeCD docs hosting to Netlify

3 participants