Skip to content

[v2] Website deploy plan #37

@LeaVerou

Description

@LeaVerou

Architecture outlined here. This is about the website part of this.

  • Roll back the separate plugins repo (so sorry @DmitrySharabin for leading you down the wrong path 😢). We still have the plugins in the prism repo, so presumably all we need to do is move their docs back here (under /plugins/).
  • Build script that reads plugin/language/theme metadata from prism and prism-themes
  • v1.prismjs.com points to the current website
  • v2.prismjs.com points to the website for v2 which will be deployed from the website's v2 branch
  • prismjs.com is aliased to v1.prismjs.com
  • Once we have a pre-release of v2, we update v1.prismjs.com to link to it
  • Once v2 is in a more mature beta, we switch prismjs.com to v2.prismjs.com and have a link to the v1 version.
  • Nice to have: Remove the minified assets from the v1 website, generate them with a build script which will also store filesizes (of both the minified and non-minified components) in a JSON file

There are several things to do to the website itself, but these are for later.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions