-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generalize website generation (#688)
### Summary Adds the ability to generate HTML that can be embedded into a markdown document. You may find it easier to review each commit separately. - (3ec7a48) Makes the license field optional. A license is still a requirement for ecosystem projects, this change just allows building the website if it isn't set in the database. - (d24a4ab) Add 'standalone' option to generate a page that can be embedded in another page. This basically means exluding the head/body tags, removing some CSS, and removing indentation (to play nicely with markdown). - (92000f2) Specify output filename (not just folder) in case you don't want the page to be called `index.html`. - (e98f6e5) Add custom css capabilities. This lets users add custom CSS rules, specified in the `website.toml` file.
- Loading branch information
1 parent
6350ec2
commit 3ac5c64
Showing
6 changed files
with
71 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -140,3 +140,4 @@ dmypy.json | |
|
||
# Generated files | ||
/website/index.html | ||
/website/style.css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters