Closed Neilblaze closed 3 months ago
/preview
πͺ§The website for this PR is deployed at https://open-digger.cn/pull_20/
Oh, I forgot that in Docusaurus we need to set the base URL properly. Will fix the workflow soon.
Haha, no worries! π @frank-zsy I have a worker that deploys from my local everytime I create PR, and for now, you can access the deployed preview from here!
Haha, no worries! π @frank-zsy I have a worker that deploys from my local everytime I create PR, and for now, you can access the deployed preview from here!
Cool, how do you do this in local env? Do you need to modify the base URL on building?
Cool, how do you do this in local env? Do you need to modify the base URL on building?
@frank-zsy It's a very simple hack β I just wrote a shell script followed by an alias
("buildRun") to trigger a deploy preview on netlify. So essentially every time I perform buildRun
on the terminal, it does npm run build
& takes the build folder and overrides the previously deployed build file (on my subdomain), and the cool part is that, since the path and domain remains the same, the overriding performed does purge all previously stored cache duing the previous build, so it's fresh everytime!
@frank-zsy PTAL!
@Neilblaze I have made a bit change in the title because the Chinese version should to be translated.
LGTM and thanks for the start.
@frank-zsy Oh my bad, yes, i18n should be the folder where I keep the EN
variant and the default docs should have the To be Translated
label since the defaultLocale is ZH
, thanks for the edit!
Description
Technical Fork
into the metrics section.getting-started
guide)image-zoom
docusaurus plugin.Blockquote
styling to enhance visibility.Before submitting the PR, please take the following into consideration
feat:
,fix:
,chore:
,docs:
, orrefactor:
.main
branch.