Fixes#3784.
Includes:
- Minor design changes to make it look good
- Padding is reduced by 1rem on the top to remove extra spacing
Signed-off-by: Avinash Desireddy <avinashr.desireddy@gmail.com>
This commit adds support for named argument declarations for built-in
functions as well as additional metadata/annotations on built-in
functions (e.g., descriptions, categories, etc.) This commit allows us
to generate a data file (builtin_metadata.json) that other tools can
consume to improve the Rego authoring experience.
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
Co-authored-by: Torin Sandall <torinsandall@gmail.com>
This will result in the _redirects page having a bunch of entries like this:
# previous minor versions
/docs/v0.38.0/* /docs/v0.38.1/:splat
/docs/v0.37.1/* /docs/v0.37.2/:splat
/docs/v0.37.0/* /docs/v0.37.2/:splat
/docs/v0.36.0/* /docs/v0.36.1/:splat
/docs/v0.34.1/* /docs/v0.34.2/:splat
/docs/v0.34.0/* /docs/v0.34.2/:splat
/docs/v0.33.0/* /docs/v0.33.1/:splat
/docs/v0.32.0/* /docs/v0.32.1/:splat
Fixes#4225.
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
The text following regular code blocks was too close. Now, the bottom
margin is the same was used with live-blocks, 1.5rem (24px).
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
This PR adds the Emissary ingress to the Ecosystem page.
The blog section contains link to an article which guides on Emissary ingress and OPA integrations.
Signed-off-by: Tayyab J <tayyab.jamadar@styra.com>
* remove hugo templating
This page doesn't go through hugo at all, so these things would
end up on the website.
A quick fix is reverting the bits that added the templating. The
downside is that local dev and PR previews will link to
/docs/latest/ecosystem, which doesn't exist there.
* link Documentation and Download to /docs
For /docs/ (not /docs/latest) we have a redirect in local dev and
PR preview mode:
/docs -> /docs/edge
so this will be a little less broken: only ecosystem is a 404 link
on the preview.
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
Fixes the bug introduced in #4474 causing the setup-opa action to fail
to retrieve the "latest" opa binary.
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
With this change, the work done for local development, and the per-PR netlify preview changes:
It will no longer include the website stuff for versions other than edge, the current working tree.
We thus save us the time, and the flakiness, involved with
- checking if github has release binaries for all the versions
- checking out their sources
- fetching the release binaries to pre-hydrate old versions' live-blocks.
The previously-used, documented make target should still be intact.
Fixes#4379 to some extent, I hope.
* docs/website: remove "latest" binary from opa versions cache
Having a stale binary here -- one called "latest" but not actually
being "latest" -- causes issues like this: when building the website
content for the (real) latest version, the script would take the
old (previous-latest) binary, and fail because that binary didn't
know the latest future keywords.
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
Any "software" entry an integration provides should reference
an item in the "software" object. This wasn't enforced previously,
so this also contains some fixes to the integrations.yaml file.
Signed-off-by: Anders Eknert <anders@eknert.com>
The docs themselves shouldn't use the full URL to reference other
pages.
Also changes http -> https for the newsletter sign-up page.
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
- Added two more community champions
- Removed enterprise support from community page
- Changed blurry line to solid line
- Updated newsletter signup from Medium to Mailchimp
- add hugo lock to gitignore
Signed-off-by: Peter ONeill <peteroneilljr@gmail.com>
- remove my-item (unused)
- remove aria-pressed="true"
- use FA for twitter/github icons
- cleanup footer
- drop txt templates
For now, maintaining an extra manual templating mechanism does not
seem like the right move: if we find ourselves in the need to replace
the static HTML page, we can move stuff over to Hugo's data templates.
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
Correct CSS for easy local static viewing
With this tweak, can just open local support.html in the browser
Revise flex container for 2-up
Define tile layout
Add page header (with suggested text)
Swap Community for Support across site
Swap anchor for button
Advantages:
- removes JavaScript dependency; now pure HTML
- more accessible; confusing to have a button act like a link
Add stylized horizontal rule
Fill out remaining horizontal rules
Add data and images for the page
The data has been normalized to allow a semi-automated fill of an HTML
fragment template in the next commit.
Semi-automated template for data generation in vim
Fill out page from semi-autogenerated content
Now take the generated content and cut-and-paste the content
for each section into the support.html file.
Refine layout with actual content now present
Have to make the section headers readable on the two
backgrounds: near the top--where the background image
appears--we use white text, but in the remainder
of the screen (with a white background) we use blue text.
Add connection to existing newsletter sign-up
Accessibilty refinements
Ran axe accessibility checker (Chrome extension) and fixed:
- All content in landmarks
- Main landmark present
- Content structured with <h1> and <h2>
- Images have alternate text
- Links have discernable text
Add back original support blurb
Improve responsive design
Switch from bootstrap to CSS grid to better handle reflow
into narrow screen width
Move new page to community.html
Reinstate original support page
Correct relative addresses
Add reference to new page in old page
Refine responsive design
On mobile, last pass reduced to one column,
but the individual cards were still truncated.
Fixes near bottom: action buttons and page margin
Spruce up the background image a bit
Per @srenatus' suggestion, keep the background image
(actually, two images)
stationary--with a bit of a color shift
that came along for the ride! :-)
Add github and twitter logo links for champions
Signed-off-by: Michael Sorens <msorens@styra.com>