site icon indicating copy to clipboard operation
site copied to clipboard

docs(deploy): add an overview page

Open SukkaW opened this issue 5 years ago • 12 comments

Check List

Please read and check followings before submitting a PR.

  • [ ] I want to publish my theme on Hexo official website.
    • [ ] I have read the theme publishing doc.
    • [ ] name is unique.
    • [ ] link URL is correct.
    • [ ] preview URL is correct.
    • [ ] preview URL web site is rendered correctly.
    • [ ] Add a screenshot to source/themes/screenshots.
    • [ ] Screenshot filename is same as value of name.
    • [ ] Screenshot size is 800 * 500.
    • [ ] Screenshot file format is png.
  • [ ] I want to publish my plugin on Hexo official website.
  • [x] Others (Update, fix, translation, etc...)

The original idea came from here. This PR adds a deployment overview page. Demo can be found at Netlify and pages will only be copied to other lang's directories after everyone is happy with the PR.

SukkaW avatar Nov 09 '19 13:11 SukkaW

@YoshinoriN The exact path of GitHub Pages guide should be /docs/github-pages.html and Netlify can serve the page without the suffix .html.

SukkaW avatar Nov 13 '19 13:11 SukkaW

@SukkaW

The exact path of GitHub Pages guide should be /docs/github-pages.html and Netlify can serve the page without the suffix .html.

Yes :)

I think this behavior will solve if we implement this feature.

I will try to it this weekend if I have a time.

yoshinorin avatar Nov 13 '19 13:11 yoshinorin

image

I found out the <h2> & <h3> tags only have small difference.

SukkaW avatar Nov 13 '19 14:11 SukkaW

I agree with @YoshinoriN that deployment -> deployment is a bit repetitive, but I don't have any good idea so far. Other than it, everything is great. Thanks for gathering those deployment methods together.

NoahDragon avatar Nov 19 '19 02:11 NoahDragon

Please do not merge this PR. I might bring up some style changes.

After everyone happy with the coming style changes then would I copy it to all the languages.

SukkaW avatar Nov 19 '19 13:11 SukkaW

It's able to merge after checking https://github.com/hexojs/site/pull/1539

stevenjoezhang avatar Jul 28 '23 08:07 stevenjoezhang

To make the document clearer, the difference between Deployer Plugins and Platforms is as follows: Deployer Plugins are plugins that allow users to compile locally and publish a blog using the 'hexo d' command. On the other hand, Platforms are more similar to providing CI/CD services.

stevenjoezhang avatar Sep 05 '23 03:09 stevenjoezhang

Theme name validation passed. Theme thumbnails validation completed.

github-actions[bot] avatar Sep 09 '23 02:09 github-actions[bot]

deployment

maybe we can name it overview

uiolee avatar Sep 11 '23 11:09 uiolee

We also need to create this page in other languages, or it will result in a 404 error.

stevenjoezhang avatar Oct 10 '23 12:10 stevenjoezhang

We also need to create this page in other languages, or it will result in a 404 error.

Or we could change the i18n plugin to redirect to home is the page in the other language does not exists?

tomap avatar Oct 10 '23 17:10 tomap

Or we could change the i18n plugin to redirect to home is the page in the other language does not exists?

If wanna do that, I think we could redirect to the corresponding English page likes mdn do.

uiolee avatar Oct 11 '23 04:10 uiolee