Skip to content

Commit

Permalink
restored cli css (#182)
Browse files Browse the repository at this point in the history
Co-authored-by: douglas fulton <dfulton@ad1.systemadmin.com>
  • Loading branch information
dougfulton and douglas fulton authored Oct 26, 2021
1 parent 255a9a9 commit efabfd2
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 9 deletions.
10 changes: 5 additions & 5 deletions docs/fides/docs/api/openapi.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"openapi": "3.0.2",
"info": {
"title": "Fidesctl API",
"title": "fidesctl",
"version": "0.1.0"
},
"paths": {
"/health": {
"get": {
"tags": [
"Healthcheck"
"Health"
],
"summary": "Healthcheck",
"description": "Define a simple healthcheck endpoint that will confirm if the API is running.",
"operationId": "healthcheck_health_get",
"summary": "Health",
"description": "Confirm that the API is running and healthy.",
"operationId": "health_health_get",
"responses": {
"200": {
"description": "Successful Response",
Expand Down
2 changes: 1 addition & 1 deletion docs/fides/docs/cli/apply.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
--diff
</div>
<div class="content">
In addition to printing the number of changed resources, the command prints a diff between the server's old and new states. The diff is in <a href="https://pypi.org/project/deepdiff/" target="_blank">Python DeepDiff</a> format. <span class="comment">I'm guessing, here.</span>
In addition to printing the number of changed resources, the command prints a diff between the server's old and new states. The diff is in <a href="https://pypi.org/project/deepdiff/" target="_blank">Python DeepDiff</a> format.
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/fides/docs/cli/evaluate.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<span class="mono">evaluate</span> &mdash; run your privacy policies against your data
</div>

<span class="label">SYNOPSIS</span>
<div class="label">SYNOPSIS</div>
<div class="content">
<pre><code>fidesctl evaluate <i>manifest_dir</i> [-k/--fides-key <i>key</i>] [-m/--message <i>message</i>] [--dry]</code></pre>
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/fides/docs/cli/webserver.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
<div class="label">SYNOPSIS</div>

<div class="content">
<pre><code>fidesctl view-config </code></pre>
<pre><code>fidesctl webserver</code></pre>
</div>

<div class="label">DESCRIPTION</div>

<div class="content">
The <code>webserver</code> command starts the `fidesctl` API server.
Starts the <code>fidesctl</code> API server.
</div>


Expand Down
24 changes: 24 additions & 0 deletions docs/fides/docs/css/cli.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
.label {
font-weight: bold;
font-size: 20px;
padding-top: 24px;
}

.content {
padding-left: 24px;
}

.content + .content{
padding-top: 24px;
}
.mono {
font-family: monospace;
font-weight: bold;
}

.monoi {
font-family: monospace;
font-style: italic;
font-weight: bold;

}
1 change: 1 addition & 0 deletions docs/fides/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ extra_css:
- https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/styles/default.min.css
- css/fides.css
- css/swagger_override.css
- css/cli.css

plugins:
- render_swagger

0 comments on commit efabfd2

Please sign in to comment.