-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* - update releases to, for now, master and pre-v.41 - for consistency and simplicity, migrate from html anchors to markdown image syntax - add some top and bottom margin to img styling so that we can remove a bunch of inline "<br />". - update remaining "</br>" to recommended "<br />" * - Remove remaining .adoc (that somehow was hiding, thanks for finding Edgar) - Update README - disable build-archive.sh with an early exit, we will need to update it * Update README.md Co-authored-by: John Mazzitelli <mazz@redhat.com> * DORP! * Update README.md Co-authored-by: John Mazzitelli <mazz@redhat.com> * pr feedback, edgar: - remove obsolete scripts - jam the Netlify badge onto the page Co-authored-by: John Mazzitelli <mazz@redhat.com>
- Loading branch information
1 parent
a111840
commit 5c4806e
Showing
29 changed files
with
222 additions
and
841 deletions.
There are no files selected for viewing
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,85 @@ | ||
|
||
# Kiali.io | ||
|
||
[![title="Netlify Status"](https://api.netlify.com/api/v1/badges/05b3eed1-6ea2-41a1-8b64-c76bda241be6/deploy-status)](https://app.netlify.com/sites/kiali/deploys) | ||
|
||
This repository contains the source code for the [http://kiali.io](http://kiali.io) website. | ||
|
||
The website is written using markdown, the [Docsy](https://www.docsy.dev/) theme, and generated using [Hugo](https://gohugo.io). It is hosted on Github and deployed using netlify. | ||
|
||
|
||
## Requirements | ||
|
||
To run the website locally, you will need: | ||
|
||
* [Podman](https://podman.io) or [Docker](https://docker.io) | ||
* https://www.gnu.org/software/make/[GNU Make] | ||
|
||
Generally `podman` is easier to setup. | ||
|
||
|
||
## Configuring and Running | ||
|
||
Hugo has a command to run a small, self-contained web server locally, so you can test the website without having to upload/deploy it anywhere. The server supports live-reload, so changes to the content will reflect into the browser as they happen. | ||
|
||
To run the server, you need to run the following on a terminal: | ||
|
||
``` | ||
make serve | ||
``` | ||
|
||
> :warning: | ||
> If you are using Docker, you need to set `DORP` when starting the server; e.g: | ||
> ``` | ||
> make -e DORP=docker make serve | ||
> ``` | ||
If everything is working as expected, you should see something like this: | ||
|
||
``` | ||
| EN | ||
+------------------+------+ | ||
Pages | 1353 | ||
Paginator pages | 0 | ||
Non-page files | 0 | ||
Static files | 119 | ||
Processed images | 0 | ||
Aliases | 155 | ||
Sitemaps | 1 | ||
Cleaned | 0 | ||
Total in 15304 ms | ||
Watching for changes in /site/{content,data,layouts,static,themes} | ||
Watching for config changes in /site/config.toml | ||
Environment: "development" | ||
Serving pages from memory | ||
Web Server is available at http://localhost:1313/ (bind address 0.0.0.0) | ||
Press Ctrl+C to stop | ||
``` | ||
|
||
The server should be available on [http://localhost:1313](http://localhost:1313). Some files might not be supported for live reload. If, for some reason, you are not seeing your changes appearing you may need to restart the server. | ||
|
||
|
||
## Documentation Versioning | ||
|
||
The documentation is versioned using a branch strategy. The `master` branch holds all new content. On each Kiali release `master` will be captured in a versioned branch. This typically happens every three weeks. | ||
|
||
The versioning/release script can be found on `scripts/build-archive.sh`. | ||
|
||
## Production Deployment | ||
|
||
Deployment is done automatically when a pull request is merged, and preview deployments are also done for each PR, so you can verify that your changes will work in production before actually deploying. | ||
|
||
## Directory Structure | ||
|
||
The directory structure is typical for projects using the [Docsy](https://www.docsy.dev/) theme. A couple of notes: | ||
|
||
* The site only supports English and as such, all content is under `content/en`. | ||
* The site minimizes customization but custom CSS is found in `assets/scss`. | ||
* The site keeps consolidates static content under `static`. | ||
* e.g. images are under `static\images` | ||
|
||
|
||
## License and Code of Conduct | ||
|
||
The kiali.io website, like the other kiali-related projects are licensed under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). It also follows the [Kiali Community Code of Conduct](https://github.com/kiali/kiali/blob/master/CODE_OF_CONDUCT.md). |
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 |
---|---|---|
|
@@ -107,6 +107,8 @@ | |
} | ||
|
||
img { | ||
margin-bottom: 1rem; | ||
margin-top: 1rem; | ||
margin-left: 5%; | ||
max-width: 90%; | ||
} |
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,4 @@ | ||
--- | ||
title: "Terminology" | ||
weight: 9 | ||
--- |
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
Oops, something went wrong.