-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="ie=edge" /><meta name="viewport" content="width=device-width, initial-scale=1" /><meta name="generator" content="hepek" /><meta name="theme-color" content="#000" /><meta name="mobile-web-app-capable" content="yes" /><meta name="description" content="Hepek docs" /><meta name="og:title" content="hepek" /><title>Welcome! - hepek</title><link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" /><link rel="stylesheet" href="https://unpkg.com/bootswatch@5.3.2/dist/yeti/bootstrap.min.css" /><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.css" /><link rel="stylesheet" href="styles/main.css" /><style> | ||
.affix { | ||
position: fixed; | ||
width: 10%; | ||
} | ||
</style></head><body><nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top"><div class="container-fluid"><a class="navbar-brand" href="index.html"><span><img src="images/favicon.ico" alt="logo" width="32" height="32" /></span> hepek</a><button type="button" class="navbar-toggler collapsed" data-bs-toggle="collapse" data-bs-target="#main-navbar"><span class="navbar-toggler-icon"></span></button><div class="collapse navbar-collapse" id="main-navbar"><ul class="navbar-nav"></ul><ul class="navbar-nav ms-auto"><li class="nav-item"><a href="hepek/components/index.html" class=" nav-link">Hepek Components</a></li><li class="nav-item"><a href="hepek/index.html" class=" nav-link">Hepek SSG</a></li></ul></div></div></nav><div class="container-fluid"><div class="page-header text-center"><h1>Welcome!</h1></div><div class="row"><div class="col-lg-2 col-md-2 invisible"></div><div class="col-lg-8 col-md-8"><p>Hepek is a collection of useful projects for typesafe HTML construction:</p> | ||
<ul> | ||
<li><a href="hepek/components/index.html">Components</a></li> | ||
<li><a href="hepek/index.html">Static site generator</a></li> | ||
</ul> | ||
<p>Components can be used in <strong>any project</strong>. This project has minimal dependencies.<br /> | ||
If you need grid, form inputs, panels, navbars, markdown, code highlighting, maths rendering and lots more, | ||
this is the library you're looking for.<br /> | ||
It supports frameworks like Bootstrap, Bulma etc.<br /> | ||
You write generic code, and it <em>compiles to Bootstrap</em>!<br /> | ||
You can easily switch to a different framework and <em>override</em> parts you don't like. :)</p> | ||
<p>SSG has support for automatic relative links, PDF rendering and lots more.</p> | ||
</div><div class="col-lg-2 col-md-2 invisible"></div></div><footer class="text-center bg-info fixed-bottom"><a href="https://github.com/sake92/hepek" class="btn"><i class="fa-github fab"></i></a><a href="https://gitter.im/sake92/hepek" class="btn"><i class="fa-gitter fab"></i></a></footer></div><script src="https://unpkg.com/bootstrap@5.3.2/dist/js/bootstrap.min.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/js/all.js"></script><script src="scripts/main.js"></script></body></html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
User-agent: * | ||
Disallow: /scripts/ | ||
Disallow: /styles/ | ||
Disallow: /lib/ |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
var parent = "section"; | ||
for (i = 1; i <= 6; i++) { | ||
// CSS selectors "section h1", "section h2" ... | ||
anchors.add(parent + ' h' + i); | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
|
||
body { | ||
font-size: 16px; | ||
padding-bottom: 33px; | ||
padding-top: 4.5rem; /* fixed top navbar */ | ||
} | ||
|
||
.navbar-brand { | ||
padding: 10px 15px; | ||
} | ||
.navbar-brand img { | ||
width: 24px; | ||
height: auto; | ||
} | ||
|
||
/* default SVG maximum height */ | ||
object[type="image/svg+xml"] { | ||
max-height: 300px; | ||
width: 100%; | ||
} | ||
|
||
.pages-toc ul { | ||
list-style: none; | ||
} | ||
|
||
.pages-toc > ul > li > a { | ||
font-weight: bold; | ||
font-size: 17px; | ||
} | ||
|
||
/* prismjs sets 0.3em and then we get unnecessary horizontal slider. This fixes it. */ | ||
pre[class*="language-"] { | ||
border-width: 0.3rem !important; | ||
} | ||
|
||
/* anchor offset when clicking it :) https://stackoverflow.com/a/22655654/4496364 */ | ||
:target:before { | ||
content: ""; | ||
display: block; | ||
height: 50px; | ||
margin: -50px 0 0; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package docs | ||
package files | ||
|
||
import utils.Imports.Bundle.*, Tags.*, Grid.*, Classes.* | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package docs | ||
package files | ||
|
||
import ba.sake.hepek.core.RelativePath | ||
import ba.sake.hepek.scalatags.all._ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package docs.hepek.components | ||
package files.hepek.components | ||
|
||
import utils.* | ||
import utils.Imports.* | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package docs.hepek.components | ||
package files.hepek.components | ||
|
||
import utils._ | ||
import utils.Imports._ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package docs.hepek.components | ||
package files.hepek.components | ||
|
||
import utils._ | ||
import utils.Imports._ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package docs.hepek.components | ||
package files.hepek.components | ||
|
||
import ba.sake.hepek.html.statik.BlogPostPage | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package docs.hepek.components | ||
package files.hepek.components | ||
|
||
import utils._ | ||
import utils.Imports._ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package docs.hepek.components | ||
package files.hepek.components | ||
|
||
import utils.Imports.Bundle.*, Tags.* | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package docs.hepek | ||
package files.hepek | ||
|
||
import utils.* | ||
import utils.Imports.* | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package docs.hepek | ||
package files.hepek | ||
|
||
import ba.sake.hepek.html.statik.BlogPostPage | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package docs.hepek | ||
package files.hepek | ||
|
||
import utils.Imports.Bundle.*, Tags.* | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package docs.hepek | ||
package files.hepek | ||
|
||
import utils.* | ||
import utils.Imports.* | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package docs.hepek | ||
package files.hepek | ||
|
||
import utils.* | ||
import utils.Imports.* | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package docs.hepek | ||
package files.hepek | ||
|
||
import utils.* | ||
import utils.Imports.* | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package docs.hepek | ||
package files.hepek | ||
|
||
import utils.* | ||
import utils.Imports.* | ||
|