chore: docker site gen for docs, update npm base image, fix chrome in docs page, jwt profile (#1019)

* initial version with docker

* move folder

* use correct path

* remove typo scanner

* change in site

* move dockerignore

* use proper path

* docs: chrome moving header, max width table, overflow on mobile (#1012)

* fix: table renderer, chrome moving header, mobile table

* card elevation

* chore(deps): bump node from 12 to 15 in /build (#967)

Bumps node from 12 to 15.

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* docs(oauth2): jwt profile (#954)

* first draft of JWT profile

* additional infos

* WIP Claim matrix

* restructure docs

* extend matrix

* typo

* use correct translation

* order tables a to z

* claim description

* remark

* describe username

Co-authored-by: Florian Forster <[email protected]>
Co-authored-by: Max Peintner <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
Florian Forster
2020-12-01 16:35:58 +01:00
committed by GitHub
co-authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Florian Forster Max Peintner dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
parent be17fd7c96
commit 3deedfe863
18 changed files with 293 additions and 105 deletions
+13
View File
@@ -51,6 +51,19 @@ export default function generate_docs(dirpath, dir, lang) {
return '<div class="side-by-side"><div class="copy">';
};
renderer.table = (header, body) => {
if (body) body = '<tbody>' + body + '</tbody>';
return '<div class="table-wrapper">\n'
+ '<table>\n'
+ '<thead>\n'
+ header
+ '</thead>\n'
+ body
+ '</table>\n'
+ '</div>';
};
renderer.code = (source, lang) => {
source = source.replace(/^ +/gm, (match) => match.split(' ').join('\t'));