Don't hesitate to get in touch!
President’s Honour List – Fall 2020
Optimization... optimization everywhere
License: MIT License
Don't hesitate to get in touch!
President’s Honour List – Fall 2020
Optimization... optimization everywhere
Hi @trangntt-016, I want to add support for reading in a config.json as an alternative to CLI arguments (e.g. --input
, --lang
,...).
ssg --config ./ssg-config.json
{
"input": "./docs",
"output": "./web",
"future-feature": "should be ignored for now"
}
For supporting --config
, I'll add another @CommandLine.Option
. If the --config
flag is used, ignore other flags.
I'm going to init the value of JssgApplication with pairs from the JSON file. That way, all the logic for parsing the file can be the same. To parse the JSON config, I'll have to add org.json
or GSON
as a dependency.
This feature displays a list of documentation for .md
files
.md
will be placed in ./docs Approach:
index.html
to have another link to the docs./docs
to store .md
filesThe file is reading line by line and then transfer to the paragraphs by parsing it into StringBuilder first. Suggestion: for the later development, could it be more precise?
Add an optional -l, --lang, and/or \l flag, which indicates the language to use when generating the lang attribute on the root element. For example, --lang fr would mean that the HTML documents are in French, and would include , while -l pt-BR would mean the text is using Brazilian Portuguese: . By default, use en-CA for Canadian English.
Hi, when running jssg -i , index.html is not created with the links with processed HTML files. Suggestion for later on development!
https://github.com/trangntt-016/static-site-generator/blob/main/src/main/java/com/os/jssg/utils/HTMLUtils.java#L24-L34 and https://github.com/trangntt-016/static-site-generator/blob/main/src/main/java/com/os/jssg/utils/FileUtils.java#L62-L93 are very similar, and one of these should be removed. I'd suggest leaving all HTML logic in the HTMLUtils.
This feature helps to compose the interactive documentations with ease
Approaches:
some codes
) and convert them to some codes
Hi, could you please add more detailed direction on the read me for jssg configuration?
Add support for inline blocks. In Markdown, enclosing text in a single backtick causes the text to HTML to get rendered as
...text...
.
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.