sebastienrousseau / shokunin Goto Github PK
View Code? Open in Web Editor NEWA Content-First Open Source Static Site Generator (SSG) written in Rust 🦀
Home Page: https://shokunin.one
License: Apache License 2.0
A Content-First Open Source Static Site Generator (SSG) written in Rust 🦀
Home Page: https://shokunin.one
License: Apache License 2.0
❌Current release v0.0.6 unit test coverage is too low
📚Complete shokunin documentation
❌ Current release v0.0.6 is missing the template directory available when running outside:
ssg --new=my-site --content=content --output=output
ssg --new=my-site --template=template --content=content --output=output
🧪 Enhancing and optimising the template file and logic
🧪 Add support for RSS 2.0 template (rss.xml)
❌ Content-Type is missing on the local server for JS
sw.js is not served with the correct Content-Type header. It is missing or has a value other than application/javascript
Hi, just stumbled across this project and found it interesting. I noticed that the links for Bug Report, Feature Request and Contributing Guidelines are broken in the README file.
I could fix that for you if you'd take a PR for that.
BTW: I'd like to contribute more stuff, but I'm not sure what. So if you have stuff open, feel free to create some issues and I would take a look at it
When the user is missing the new
argument, the error message is
Error running shokunin (ssg): ❌ Error: Argument "name" is required but missing.
This confused me quite a lot, i think we should always use the argument's exact name.
I'm going to provide a PR for this.
❌ msapplication-TileImage not declared correctly
I was wondering if there was any documentation on how to actually use this outside of the code itself and the templates. I thought I'd try to take a look at making a blog out of this, but I haven't found any documents as to how to actually use this.
I can probably piece it together if there is no documentation already or documentation planned in the short term, but if there was I'd figure I'd would wait for it.
🧪 Increasing front matter values support
🧪 Adding other types of content formats to generate from (CSV, YAML, TOML, TXT etc)
❌ Missing examples both in the documentation and code base
🧪 Create the website for shokunin
gh-pages
branchOpen for ideas!
❌ Bad value navigation for attribute role on element ul.
Error: Bad value navigation for attribute role on element ul.
From line 128, column 21; to line 128, column 80
The error message is indicating that the value "navigation" used for the role attribute on the ul element is invalid.
To resolve the error, you can update the role attribute to a valid value based on the intended purpose of the ul element. For example:
<ul class="navbar-nav ms-auto mb-2 mb-lg-0" role="list">
🧪 Enhancing the CLI for better usability
ssg
alone, the appplication should default to the --help menu🧪 Optimise the Service Worker code so it more robust and following best practices
🧪 Adding Built-in development server
Currently, the application name (provided by the cli's new
flag) is not passed to the compile
function. Instead, the site name is read with let mut site_name = match env::args().nth(1)
. This leads to some awkward string manipulations to get the site's name:
Lines 232 to 237 in dc6817b
I think passing the site's name directly from the clap
matches would be better. This also makes sure, that the user can use the cli without using =
.
For example:
cargo run -- --new MY_SITE -c content/ -o dist
It seems the code blocks are not supported in md files.
Is it possible to add this feature?
Such as
```ruby
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
Hello,
Could you give us a pre-defined or compatible templates list?
🧪 Refactoring lib.rs
❌ Fix CI GitHub Workflow
🧪Creating Criterion.rs tests to assess and enhance performance
Hello @sebastienrousseau,
I was looking an SSG for a new project, and just stepped onto you project, and wonder how your lib compete with zola
for example ?
Why did you start it in the first place ? What was your complain about the existing tools and thus what do you expect to do fundamentally better/easier/different ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.