Commit Graph

27 Commits

Author SHA1 Message Date
Daniel Hawton 58402815b8
Rework the create minor version flow (#16458)
* Rework the create minor version flow

Signed-off-by: Daniel Hawton <daniel.hawton@solo.io>

* fix for PR body

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* missed data/args.yaml settings for release branch

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* Update README.md

Co-authored-by: Craig Box <craig.box@gmail.com>

* lint

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* doc tweaks

Signed-off-by: Daniel Hawton <daniel@hawton.org>

---------

Signed-off-by: Daniel Hawton <daniel.hawton@solo.io>
Signed-off-by: Daniel Hawton <daniel@hawton.org>
Co-authored-by: Craig Box <craig.box@gmail.com>
2025-05-09 09:53:46 -04:00
davidhauck a7382bef81
Change links to /latest and include archive versions in the release site (#7567)
* Updated site to build archived packages at istio.io/{version} (#7515)

* cache sidebar smartly when building site (#7431)

* change archive process to include static archives every build

* fix zh redirects (#7523)

* fix redirects for vanity imports (#7524)

* fix 1.1 and 1.2 links (#7526)

* fix links in 1.3 and 1.4
2020-06-15 11:29:02 -07:00
Martin Taillefer 3304aceca3
Clean up build logic. (#5380)
- Swap the "build" and "gen" terms used in this repo to match
what we do in other repos. "gen" generates a bunch of files, which
is needed by "build". Unlike other repos, the output of "gen" doesn't
need to be checked in to Git however.

- The clean target now cleans the generated directory.

- Makefile.core.mk now defines SOURCE_BRANCH_NAME that decides which
branch we get reference material from. This makes it much simpler to
switch branches.

- Added the "update_all" target which does all the work needed to pull
in the imported content.
2019-11-05 10:24:45 -08:00
Martin Taillefer 6c3f5d2e85
Workaround for sudden Netlify failures (#5379) 2019-11-05 06:24:57 -08:00
Martin Taillefer d71b114f19
Fixes for the archive site. (#4989) 2019-09-13 08:32:11 -07:00
Martin Taillefer a48f05a3e9 Update common files (#4870)
- Enable a bunch of linting rules in the repo, and addressed all the linting
errors
2019-08-29 08:09:32 -07:00
Martin Taillefer a442094083 Avoid redudant module downloads when running nodejs stuff. (#4808) 2019-08-19 02:49:33 -07:00
Steven Dake 060a010576 Docs/minification (#4809)
* Build the website with minification

* Update commonfiles

* Add preset-minify to list of presets
2019-08-16 21:51:31 -07:00
Steven Dake 3c816319b2 Modify build_site.sh to work with new build-tools image (#4801)
* Modify build_site.sh to work with new build-tools image

babel-cli must be used instead of babel.  babel=version6,
babel-cli=version7.  I don't know the details, but make serve
seems to work well enough.

I had to drop a minifier rule. We can reintroduce this rule.

The babel-cli required a reordering of command line args.

* Take 2

* Make netlify work properly
2019-08-15 19:03:48 -07:00
mtail 37cd6fb4b8 Final batch of archive fixes. 2019-06-19 08:51:37 -07:00
Martin Taillefer d458423cf4 Site improvements. (#4015)
- Substantially simplify logic that deals with releases & release notes.

- Make it easier to add a new release to the site. THere are fewer things to
change as the site infra can figure more stuff out on its own.

- Make it so release notes can be added in one language without require them
to be added in the other language.

- Replace the ugly "a new version is available" callout on older release note
pages with a popup that only shows up when you click on the download button.
2019-04-22 09:12:18 -07:00
Martin Taillefer 533a3efc0e
Merge from release-1.1 branch (#4012) 2019-04-20 08:16:09 -07:00
Martin Taillefer 69830194de
Finish accessibility support in tab sets. (#3720) 2019-03-16 06:55:45 -07:00
Martin Taillefer 5a9f78e843
Add a fast language switcher button in preliminary mode. (#3464)
Also, when switching languages, the site now stays at the same page if possible.
This should help with translation work.
2019-03-02 17:39:32 -08:00
Martin Taillefer bedbc83da6
JavaScript cleanup. (#3427)
- Now that the scripts are loaded with 'defer', no need to trigger all
behavior via a DOMContentLoaded event handler as the scripts will all
naturally run after the DOM has been loaded.

- Use a considerably simpler approach to copy to the clipboard in code
blocks. This saves around 10K of script code believe it or not.
2019-02-28 01:38:52 -08:00
Martin Taillefer 5ce2285a01
Script cleanup (#3372) 2019-02-25 07:19:06 -08:00
Martin Taillefer 19f40b74b7
Redo theming logic. (#3370)
This all got much simpler, more robust, and faster to load by using
CSS variables.
2019-02-24 11:15:17 -08:00
Martin Taillefer 959da91043
Infrastructure improvements. (#3306)
- Stop using Bootstrap's tab component.

- Improve the formatting of the hesder on mobile.
2019-02-20 06:41:40 -08:00
Martin Taillefer 2dac7e0ff3
Site infra cleanup. (#3281)
- Refactor script code into smaller more manageable files.

- Use consistent naming style in script code.

- Stop using Bootstrap's dropdowns and popovers in favor of custom implementation.
There are only a few uses of Bootstrap to purge before I can ditch
the dependency on the Bootstrap & JQuery libraries, which will speed
up page loads.

- Find a few more static strings that should come from the xlation
dictionary instead.
2019-02-18 07:35:37 -08:00
Martin Taillefer 3eba576a89
JavaScript cleanup (#3253)
- Upgrade from UglifyJS to Babel as a JS preprocessor. This lets me use modern ES6 syntax
in the JS code.

- Update JS code to leverage ES6.

- Remove most dependencies on JQuery for faster & smaller code. Once I remove the
dependency on the Bootstrap library, then the dependency on JQuery will also completely
go away.
2019-02-13 10:10:28 -08:00
Martin Taillefer e9112e7a65
More style cleanup. (#3230) 2019-02-11 21:07:03 -08:00
Kevin Simper e5e8875a5e Allow the site static content to be built on netlify (#3015) 2019-01-03 07:49:44 -08:00
Martin Taillefer 0a4264417f
Site improvements (#2633)
- Use a new approach to managing icons. This has two primary benefits:

  - It makes it possible to color the icons such that they look good in the
    dark theme. Previously, the icons were rendered in black on dark grey when
    using the dark theme.

  - The average payload size for our web pages is reduced and we better use the
    browser cache.

- The new icon approach makes it possible to remove our dependency on the fontawesome
  package, which further slims down our payload requirement

- Refresh our iconography for a slightly lighter look.

- Remove the extra thick left-hand border of text blocks to lighten the
look.

- Added a "NN minutes to read" indication on top of each page. This is
only displayed if the count is > 1 minute.

- Added a calendar icon next to the blog post date.

- Exposed a bunch of strings that were buried in CSS/JS to translation.

- Add the 'keywords:' front-matter fields to the Hugo archetypes.
2018-09-17 08:52:23 -07:00
Martin Taillefer 3d511f5a70
Various site fixes. (#1701)
- Prevent See Also sections from showing up on index pages.

- Clean up and simplify some JavaScript & CSS.

- Set a height for the idea and warning icons in order to prevent
screen flicker when loading pages with these icons.
2018-07-08 17:12:12 -07:00
Martin Taillefer 0541000be8
Switch from ``` to {{< text >}} to indicate text blocks. (#1644)
This fixes a number of cases of incorrect formatting of code blocks
throughout the site.
2018-06-30 07:11:21 -07:00
Martin Taillefer 857f86abad
Update Makefile for simplified Netlify scheme. (#1525) 2018-06-15 17:02:08 -07:00
mtail f8a5265efa Get all the bits in place to do docker-based build, generation, linting, and serving of the site. 2018-06-15 15:51:04 -07:00