Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintenance/docs #446

Merged
merged 16 commits into from
Nov 27, 2023
Merged

Maintenance/docs #446

merged 16 commits into from
Nov 27, 2023

Conversation

Boomatang
Copy link
Contributor

  • Update docs for better rendering of dos.kaudrant.io
  • fix broken links

Verification

  • Edited markdown pages should render correctly in
    • Github
    • Docs.kuadrant,io
  • All links should work in both locations

To help with rendering these changes on the docs site, Kuadrant/docs.kuadrant.io#41 can be used to run these changes locally

The table has being removed in favour for better rendering on
docs.kuadrant.io
Change formatting to get better rendering on docs.kuadrant.io
Reformat the list to work on docs.kuadrant.io
- remove toc
- fix broken links
- remove TOC
- fix list rendering
- fix broken links
 - remove extra spacing
 - fix list rendering for website
- remove TOC
- fix list for website reneder
- fix links
- Formatting for list render on website
- Update links
@Boomatang Boomatang self-assigned this Nov 10, 2023
@Boomatang Boomatang marked this pull request as draft November 10, 2023 14:31
@Boomatang Boomatang removed their assignment Nov 10, 2023
Comment on lines 25 to 26
<li>[Sharding](../architecture.md#sharding)</li>
<li>Identity verification & authentication → [API key](../features.md#api-key-authenticationapikey)</li>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems to have broken in GitHub now.

Screenshot 2023-11-10 at 15 43 01

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sadly the only way I could get this to render correctly in both place was by using HTML list with A tags and absolute paths to page on the website.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is it that it works for all other user guides then? Or maybe it doesn't. In this case, why changing this particular file and not all the others?

@Boomatang Boomatang force-pushed the maintenance/docs branch 2 times, most recently from 68f95cf to 74436b1 Compare November 14, 2023 09:27
- Fix broken links
@Boomatang Boomatang force-pushed the maintenance/docs branch 3 times, most recently from f228c84 to d4bf470 Compare November 14, 2023 14:39
- fix list rendering
- update URLs
- Update list format
@guicassolato guicassolato added kind/bug Something isn't working area/doc Improvements or additions to documentation size/medium size/small labels Nov 14, 2023
@guicassolato guicassolato added this to the v0.16.x milestone Nov 14, 2023
@Boomatang Boomatang marked this pull request as ready for review November 20, 2023 09:29
docs/contributing.md Outdated Show resolved Hide resolved
Comment on lines 21 to 27
<details markdown="1">
<summary>Alternative: K8s distros and platforms</summary>
<details markdown="1">
<summary>Alternative: K8s distros and platforms</summary>

Alternatively to upstream Kubernetes, you should be able to use any other Kubernetes distribution or Kubernetes Management Platform (KMP) with support for Kubernetes Custom Resources Definitions (CRD) and custom controllers, such as <a href="https://www.openshift.com">Red Hat OpenShift</a>, <a href="https://www.ibm.com/cloud/kubernetes-service">IBM Cloud Kubernetes Service (IKS)</a>, <a href="http://cloud.google.com/kubernetes-engine">Google Kubernetes Engine (GKE)</a>, <a href="https://aws.amazon.com/eks">Amazon Elastic Kubernetes Service (EKS)</a> and <a href="https://azure.microsoft.com/en-us/services/kubernetes-service">Azure Kubernetes Service (AKS)</a>.
</details>
Alternatively to upstream Kubernetes, you should be able to use any other Kubernetes distribution or Kubernetes Management Platform (KMP) with support for Kubernetes Custom Resources Definitions (CRD) and custom controllers, such as <a href="https://www.openshift.com">Red Hat OpenShift</a>, <a href="https://www.ibm.com/cloud/kubernetes-service">IBM Cloud Kubernetes Service (IKS)</a>, <a href="http://cloud.google.com/kubernetes-engine">Google Kubernetes Engine (GKE)</a>, <a href="https://aws.amazon.com/eks">Amazon Elastic Kubernetes Service (EKS)</a> and <a href="https://azure.microsoft.com/en-us/services/kubernetes-service">Azure Kubernetes Service (AKS)</a>.
</details>

- [**Envoy**](https://www.envoyproxy.io) proxy (recommended v1.19 or later), to wire up Upstream services (i.e. the services to be protected with Authorino) and external authorization filter (Authorino) for integrations based on the reverse-proxy architecture - [example](https://github.com/kuadrant/authorino-examples#envoy)

<details markdown="1">
<summary>Alternative: Non-reverse-proxy integration</summary>
<details markdown="1">
<summary>Alternative: Non-reverse-proxy integration</summary>

Technically, any client that implements Envoy's <a href="https://www.envoyproxy.io/docs/envoy/latest/start/sandboxes/ext_authz">external authorization</a> gRPC protocol should be compatible with Authorino. For integrations based on the reverse-proxy architecture nevertheless, we strongly recommended that you leverage Envoy alongside Authorino.
</details>
Technically, any client that implements Envoy's <a href="https://www.envoyproxy.io/docs/envoy/latest/start/sandboxes/ext_authz">external authorization</a> gRPC protocol should be compatible with Authorino. For integrations based on the reverse-proxy architecture nevertheless, we strongly recommended that you leverage Envoy alongside Authorino.
</details>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the indentation break anything? Because it was actually nesting the detail boxes inside the list items before.

Screenshot 2023-11-22 at 17 59 22

Now it looks a bit weird:

Screenshot 2023-11-22 at 17 59 33

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So it does seem like the indent matters for this. The mixing of html and markdown seems to have so many edge cases. What you will find now is the syntax highlighting does not work for the details section in editors. Or add least it does not work in my editors. It does seem to be working in the github diff.

@guicassolato guicassolato removed this from the v0.16.x milestone Nov 23, 2023
- fix display indents
- update URL
@Boomatang Boomatang self-assigned this Nov 27, 2023
@Boomatang Boomatang merged commit 9da0bf6 into Kuadrant:main Nov 27, 2023
5 checks passed
@Boomatang Boomatang deleted the maintenance/docs branch November 27, 2023 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/doc Improvements or additions to documentation kind/bug Something isn't working size/medium size/small
Projects
Archived in project
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants