-
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from Skydoc to Stardoc (#181)
* Switch from Skydoc to Stardoc Fixes: #177 * Let the documentation contain more up to date setup instructions I'm not fully convinced that we should also document this as part of jsonnet.bzl, but let's keep it in place for the time being. * Remove the old Skydoc based documentation Leave some placeholder pages in place that link to the new location.
- Loading branch information
1 parent
36fdb4c
commit 1839d26
Showing
14 changed files
with
489 additions
and
769 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
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
docs | ||
examples |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
load("@aspect_bazel_lib//lib:docs.bzl", "stardoc_with_diff_test", "update_docs") | ||
|
||
stardoc_with_diff_test( | ||
name = "jsonnet", | ||
bzl_library_target = "@rules_jsonnet//jsonnet:jsonnet", | ||
) | ||
|
||
update_docs( | ||
name = "update", | ||
) |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module( | ||
name = "docs", | ||
version = "0.0.0", | ||
) | ||
|
||
bazel_dep(name = "aspect_bazel_lib", version = "2.7.0") | ||
bazel_dep(name = "stardoc", version = "0.6.2") | ||
|
||
bazel_dep(name = "rules_jsonnet", version = "0.5.0") | ||
local_path_override( | ||
module_name = "rules_jsonnet", | ||
path = "..", | ||
) |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,153 +1,9 @@ | ||
|
||
|
||
<!-- | ||
Documentation generated by Skydoc | ||
--> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width initial-scale=1" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
|
||
<title>Overview</title> | ||
|
||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,600,700" type="text/css"> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> | ||
<link rel="stylesheet" href="https://code.getmdl.io/1.1.1/material.green-light_blue.min.css"> | ||
<script defer src="https://code.getmdl.io/1.1.1/material.min.js"></script> | ||
<link rel="stylesheet" href="https://bazelbuild.github.io/rules_jsonnet/main.css"> | ||
<title>rules_jsonnet documentation has moved</title> | ||
</head> | ||
<body> | ||
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-drawer | ||
mdl-layout--fixed-header"> | ||
<header class="mdl-layout__header"> | ||
<div class="mdl-layout__header-row"> | ||
<span class="mdl-layout-title">Overview</span> | ||
</div> | ||
</header> | ||
<div class="mdl-layout__drawer"> | ||
<span class="mdl-layout-title">Bazel</span> | ||
<nav class="drawer-nav"> | ||
<ul class="drawer-nav"> | ||
|
||
<li><a href="https://bazelbuild.github.io/rules_jsonnet/index.html">Overview</a></li> | ||
<li> | ||
<a href="https://bazelbuild.github.io/rules_jsonnet/jsonnet/jsonnet.html">Jsonnet Rules</a> | ||
<ul> | ||
<li><a href="https://bazelbuild.github.io/rules_jsonnet/jsonnet/jsonnet.html#overview">Overview</a></li> | ||
<li> | ||
<a href="https://bazelbuild.github.io/rules_jsonnet/jsonnet/jsonnet.html#jsonnet_library"> | ||
jsonnet_library | ||
</a> | ||
</li> | ||
<li> | ||
<a href="https://bazelbuild.github.io/rules_jsonnet/jsonnet/jsonnet.html#jsonnet_to_json"> | ||
jsonnet_to_json | ||
</a> | ||
</li> | ||
<li> | ||
<a href="https://bazelbuild.github.io/rules_jsonnet/jsonnet/jsonnet.html#jsonnet_to_json_test"> | ||
jsonnet_to_json_test | ||
</a> | ||
</li> | ||
</ul> | ||
</li> | ||
|
||
</ul> | ||
</nav> | ||
</div> | ||
|
||
<main class="mdl-layout__content"> | ||
<div class="page-content"> | ||
<h1>Overview</h1> | ||
|
||
|
||
<nav class="toc"> | ||
<h2>Rule sets</h2> | ||
<ul> | ||
<li><a href="#jsonnet">Jsonnet Rules</a></li> | ||
</ul> | ||
</nav> | ||
|
||
<h2><a href="https://bazelbuild.github.io/rules_jsonnet/jsonnet/jsonnet.html">Jsonnet Rules</a></h2> | ||
|
||
<h3>Rules</h3> | ||
<table class="overview-table"> | ||
<colgroup> | ||
<col class="col-name" /> | ||
<col class="col-description" /> | ||
</colgroup> | ||
<tbody> | ||
<tr> | ||
<td> | ||
<a href="https://bazelbuild.github.io/rules_jsonnet/jsonnet/jsonnet.html#jsonnet_library"> | ||
<code>jsonnet_library</code> | ||
</a> | ||
</td> | ||
<td> | ||
<p>Creates a logical set of Jsonnet files.</p> | ||
|
||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<a href="https://bazelbuild.github.io/rules_jsonnet/jsonnet/jsonnet.html#jsonnet_to_json"> | ||
<code>jsonnet_to_json</code> | ||
</a> | ||
</td> | ||
<td> | ||
<p>Compiles Jsonnet code to JSON.</p> | ||
|
||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<a href="https://bazelbuild.github.io/rules_jsonnet/jsonnet/jsonnet.html#jsonnet_to_json_test"> | ||
<code>jsonnet_to_json_test</code> | ||
</a> | ||
</td> | ||
<td> | ||
<p>Compiles Jsonnet code to JSON and checks the output.</p> | ||
|
||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<h3>Macros</h3> | ||
<table class="overview-table"> | ||
<colgroup> | ||
<col class="col-name" /> | ||
<col class="col-description" /> | ||
</colgroup> | ||
<tbody> | ||
<tr> | ||
<td> | ||
<a href="https://bazelbuild.github.io/rules_jsonnet/jsonnet/jsonnet.html#jsonnet_repositories"> | ||
<code>jsonnet_repositories</code> | ||
</a> | ||
</td> | ||
<td> | ||
<p>Adds the external dependencies needed for the Jsonnet rules.</p> | ||
|
||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
|
||
</div> | ||
|
||
<footer class="mdl-mini-footer"> | ||
<div class="mdl-mini-footer__left-section"> | ||
<div class="mdl-logo">Bazel</div> | ||
<ul class="mdl-mini-footer__link-list"> | ||
<li><a href="http://bazel.io">Home</a></li> | ||
<li><a href="https://github.com/bazelbuild">GitHub</a></li> | ||
</ul> | ||
</div> | ||
</footer> | ||
</main> | ||
</div> | ||
<p>The documentation for rules_jsonnet can now be found <a href="https://github.com/bazelbuild/rules_jsonnet/blob/master/docs/jsonnet.md">on GitHub</a>.</p> | ||
</body> | ||
</html> |
Oops, something went wrong.