Skip to content

Commit

Permalink
docs(admin-api) reformat wide table
Browse files Browse the repository at this point in the history
This table was a little too wide for our docs website. I have slightly reworded things so that it properly fits.
  • Loading branch information
kikito committed Mar 13, 2020
1 parent 3748506 commit ae5679a
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions autodoc/data/admin-api.lua
Original file line number Diff line number Diff line change
Expand Up @@ -535,16 +535,18 @@ return {
Both versions of the algorithm detect "double slashes" when combining paths, replacing them by single
slashes.
| `service.path` | `route.path` | `route.strip_path` | `route.path_handling` | request path | proxied path |
|----------------|--------------|--------------------|-----------------------|--------------|---------------|
| `/s` | `/fv0` | `false` | `v0` | `/fv0req` | `/s/fv0req` |
| `/s` | `/fv1` | `false` | `v1` | `/fv1req` | `/sfv1req` |
| `/s` | `/tv0` | `true` | `v0` | `/tv0req` | `/s/req` |
| `/s` | `/tv1` | `true` | `v1` | `/tv1req` | `/sreq` |
| `/s` | `/fv0/` | `false` | `v0` | `/fv0/req` | `/s/fv0/req` |
| `/s` | `/fv1/` | `false` | `v1` | `/fv1/req` | `/sfv1/req` |
| `/s` | `/tv0/` | `true` | `v0` | `/tv0/req` | `/s/req` |
| `/s` | `/tv1/` | `true` | `v1` | `/tv1/req | `/sreq` |
On the following table, `s` is the Service and `r` is the Route.
| `s.path` | `r.path` | `r.strip_path` | `r.path_handling` | request path | proxied path |
|----------|----------|----------------|-------------------|--------------|---------------|
| `/s` | `/fv0` | `false` | `v0` | `/fv0req` | `/s/fv0req` |
| `/s` | `/fv1` | `false` | `v1` | `/fv1req` | `/sfv1req` |
| `/s` | `/tv0` | `true` | `v0` | `/tv0req` | `/s/req` |
| `/s` | `/tv1` | `true` | `v1` | `/tv1req` | `/sreq` |
| `/s` | `/fv0/` | `false` | `v0` | `/fv0/req` | `/s/fv0/req` |
| `/s` | `/fv1/` | `false` | `v1` | `/fv1/req` | `/sfv1/req` |
| `/s` | `/tv0/` | `true` | `v0` | `/tv0/req` | `/s/req` |
| `/s` | `/tv1/` | `true` | `v1` | `/tv1/req` | `/sreq` |
]],
fields = {
Expand Down

0 comments on commit ae5679a

Please sign in to comment.