This website requires JavaScript.
Explore
Help
Sign in
github
/
repo2html
Watch
1
Star
0
Fork
You've already forked repo2html
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
b26b6eea15
repo2html
/
.gitattributes
2 lines
15 B
Text
Raw
Normal View
History
Unescape
Escape
remove some env vars; make output land in html/ CLONE-URL, TITLE, and H1 are no longer processed. instead, the user should modify the templates/default.html to their liking. the output used to be structured like this: target-html-directory/ +-- index.html +-- files.html +-- README.md.html +-- (all the other files) the output is now structured like this: target-html-directory/ +-- index.html +-- html/ +-- files.html +-- README.md.html +-- (all the other files...) this makes it so people who are hosting bare repos for cloning on static webservers will have only two new directory entries (index.html and html) in the bare repo directory, reducing the risk of clobbering something. finally, i tried something hacky with gitattributes to get an automatic version idenifier to show up. but it turns out this is not the git hash of the commit, but instead the hash of the blob for main.scm, which could remain the same across releases. doesn't hurt, so i'll look for a better approach in the future.
2022-12-18 12:59:59 -05:00
main.scm ident
Reference in a new issue
Copy permalink