Commit Graph
19 Commits
Author SHA1 Message Date
Ian LewisandgVisor bot 40d6c048af Update host redirect handling for gvisor.dev
We now make sure that the requested domain is a valid domain based on the
custom domain and project ID settings before redirecting.

PiperOrigin-RevId: 548859553
2023-07-17 19:03:44 -07:00
Adin ScannellandgVisor bot 2911d8c3b8 Add default_applicable_licenses rules to packages.
PiperOrigin-RevId: 513581243
2023-03-02 10:50:04 -08:00
Kevin KrakauerandgVisor bot 3a76efe831 convert uses of interface{} to any
Done via:
  find . -name "*.go" | xargs sed -i -E 's/interface\{\}/any/g'

PiperOrigin-RevId: 487033228
2022-11-08 13:14:06 -08:00
Ian LewisandgVisor bot 2e9aa9b2c3 Redirect new issues to Github chooser menu.
PiperOrigin-RevId: 434831027
2022-03-15 12:54:34 -07:00
Fabricio VoznikaandgVisor bot d9aec40d6b Replace whitelist with allowlist
PiperOrigin-RevId: 384586164
2021-07-13 17:20:41 -07:00
Ian LewisandgVisor bot 7083b43205 Syscall docs update
- Moves the id to the <tr> tag so that the page aligns properly when using an
anchor.
- Makes the syscall number a link to the anchor.
- Fixes some broken links to syscalls without man pages.

PiperOrigin-RevId: 353159903
2021-01-21 20:11:53 -08:00
Ian LewisandgVisor bot f1835d7357 Add syscall docs back to menu
Syscall docs were excluded from the navigation menu. This change adds them
back.

PiperOrigin-RevId: 352942238
2021-01-20 21:53:11 -08:00
Dean DengandgVisor bot ca201a0360 Switch uses of os.Getenv that check for empty string to os.LookupEnv.
Whether the variable was found is already returned by syscall.Getenv.
os.Getenv drops this value while os.Lookupenv passes it along.

PiperOrigin-RevId: 351674032
2021-01-13 15:15:20 -08:00
Adin ScannellandgVisor bot 49817e2bfc Add prefix helper to link to code search results.
This is extremely convenient similar to being able to link to Go
package documentation via the canonical package names.

PiperOrigin-RevId: 350774913
2021-01-08 09:09:54 -08:00
Adin ScannellandgVisor bot b8df512d35 Require specific buckets for pprof handler.
This further restricts the surface exposed only to artifacts
generated by the continuous integration system.

This change also installs appropriate root certificates, so
that objects can be fetched from https://storage.googleapis.com.

PiperOrigin-RevId: 350650197
2021-01-07 15:30:37 -08:00
Michael Pratt 0f86e60813 website: redirect module to pkg.go.dev
Add redirects from any module package path to its corressponding
pkg.go.dev documentation. e.g., gvisor.dev/gvisor/pkg/sentry/kernel ->
https://pkg.go.dev/gvisor.dev/gvisor/pkg/sentry/kernel.

This is a handy way to get to documentation, also used by other vanity
domains, like golang.org/x/tools.
2021-01-07 09:53:33 -05:00
Adin ScannellandgVisor bot 0337e11821 Export a pprof visualization endpoint.
This allows us to link directly to profiling results from
the build results. The code uses the standard pprof http
server, exported from the Cloud Run instance.

PiperOrigin-RevId: 350440910
2021-01-06 15:44:07 -08:00
Ian LewisandgVisor bot 37edfa80c0 Fix platforms blog post permalink
PiperOrigin-RevId: 339182848
2020-10-26 22:06:49 -07:00
Dean DengandgVisor bot 039fc0fa3d Direct gvisor.dev/issues to the same place as gvisor.dev/issue.
Also let the Github bug reviver detect both in TODOs.

PiperOrigin-RevId: 338785089
2020-10-23 19:29:26 -07:00
Michael PrattandgVisor bot 4bec95929c Fix FAQ URL
The existing gvisor.dev/faq link returns 404 because the full URL has
mistakenly been capitalized.

PiperOrigin-RevId: 319233173
2020-07-01 08:53:44 -07:00
Adin ScannellandgVisor bot 1ea48124b5 Unbreak permalink.
The permalink should be "linux" not "Linux.

PiperOrigin-RevId: 312518858
2020-05-20 11:20:40 -07:00
gVisor bot c0891f7a11 Merge pull request #2513 from amscanne:website-integrated
PiperOrigin-RevId: 311184385
2020-05-12 12:55:23 -07:00
Adin Scannell 01b4cd6c11 Adapt website to use g3doc sources and bazel.
This adapts the merged website repository to use the image and bazel
build framework. It explicitly avoids the container_image rules provided
by bazel, opting instead to build with direct docker commands when
necessary.

The relevant build commands are incorporated into the top-level
Makefile.
2020-05-06 14:15:18 -07:00
Adin Scannell 097648b265 Move website to a simpler jekyll-based template
This will allow us to merge the site into the main repository.

This merge allows the documentation to be kept up-to-date and
synchronized with the main project. Builds will be triggered on any
update, removing the need for the cron-based reploy.
2020-04-21 12:00:59 -07:00