Slate v3 Technology Preview 0 #1271
Replies: 4 comments 8 replies
-
Do we plan to add webpack to the mix to better handle the process of building out our dependencies, combining JS files, and minifying them? |
Beta Was this translation helpful? Give feedback.
-
The As you can see from the |
Beta Was this translation helpful? Give feedback.
-
What are you trying to achieve with running When Slate v3 is published to npm, we will use tags such as |
Beta Was this translation helpful? Give feedback.
-
An issue with a GPL-licensed dependency which may have prevented us releasing this under an Apache-2.0 license (like Slate v2) has been resolved. |
Beta Was this translation helpful? Give feedback.
-
Two announcements today, first thanks to the hard work of my co-maintainers Matthew Peveler and Robert Lord, and many members of the Slate community, we are happy to present Slate v2.7.0.
Secondly, we have something we'd like lots of feedback on.
The Slate v3 technology preview (the
v3
branch) is a ground-up reworking of Slate using pure Node.js and the eleventy static-site-generator.The Slate v3 technology preview uses the exact same CSS and client-side JavaScript (apart from a couple of compatibility tweaks) as Ruby Slate, so the output HTML should function exactly as in Ruby Slate.
Ports of Slate including to Node.js are nothing new and indeed Mike's own Shins project has been tracking releases of Ruby Slate since late 2016, however, this technology preview is not based on Shins or any of the other outdated ports, and leverages
eleventy
to minimise the amount of custom code and dependencies required to build your documentation with Slate.The fact that three of our core client-side JS libraries can be included in the Node.js
package.json
dependencies makes the process of keeping them up to date much simpler. It also paves the way to potentially move thelunr
search index generation to the server side, which would allow multi-page searches.The Future
It is important to be clear what the function of the technology preview is. It is primarily focused on getting feedback from the community.
eleventy
-basedWe are saying that we recognise that the Ruby and
middleman
infrastructure used by Slate has historically caused the community, and maintainers, a good deal of headaches over the years.We particularly want to hear your experiences of using the technology preview in these areas:
source
directory structure or have a clean break?In addition to the concrete areas above, we would welcome feedback on the adoption of
eleventy
itself; we note that the project is relatively young (circa two and a half years) and has not yet reached the milestone of a stablev1.0.0
release. Also,eleventy
has a fair number of open issues and this is with it using the lodash style of issue management where enhancement requests and documentation change issues are closed, but still monitored.eleventy
while not being one of the most well-known static site generators, is actively maintained and it fits the requirements of supporting markdown andejs
templates while not including large unnecessary dependencies such asReact
orVue.js
, or being primarily focused on being a blog framework. We believe the Slate community could be beneficial to theeleventy
community in terms of visibility and additional contributors.eleventy
also has a well thought-out plugin system.We know that the provided documentation is very bare-bones at the moment, but we would plan to copy over the remainder of the
README
and start the process of updating the Wiki if the technology preview warrants moving to the next phase.One more thing to make clear, we are accepting Pull-Requests against the technology-preview branch, but these should be bug fixes and documentation improvements rather than new features at this stage.
Many thanks for reading, and we look forward to your feedback.
Beta Was this translation helpful? Give feedback.
All reactions