Repository required to deploy HF documentation to staging env (GH pages).
https://handsontable.github.io/hyperformula-staging/
The page is protected from being indexed by the search engine bots by:
- https://handsontable.github.io/robots.txt
<meta name="robots" content="noindex, nofollow">
in https://handsontable.github.io/hyperformula-staging/index.html file
GH does not support restricting access to it using a password
If you want to deploy the documentation from feature-branch
(in the hyperformula
repo), follow these steps:
- Create a pull request across forks (this link might help):
- to [base repo]
hyperformula-staging
, [base branch]hyperformula
- from [head repo]
hyperformula
, [head branch]feature-branch
- to [base repo]
- Make sure it does not overwrite the key code fragments (see below)
- Merge the PR
- Wait for
Publish
andpages-build-deployment
workflows to finish - Visit https://handsontable.github.io/hyperformula-staging/
In hyperformula
branch there are a few code fragments that are essential for correct deployment of the staging env. They must not be overwritten.
-
File .github/workflows/publish.yml, especially the specification of the branch that triggers the workflow:
hyperformula-staging/.github/workflows/publish.yml
Lines 3 to 6 in 28116bf
-
Spacification of the base URL in the docs/.vuepress/config.js file:
-
<meta name="robots">
tag in the docs/.vuepress/config.js file:hyperformula-staging/docs/.vuepress/config.js
Lines 15 to 16 in 28116bf