Reorg documents so latest devel if root and stable is in a subfolder
Added warnings Signed-off-by: Ben Collins <bcollins@ubuntu.com>
This commit is contained in:
parent
12c9530819
commit
112592b452
4 changed files with 34 additions and 36 deletions
5
.github/workflows/deploys-docs.yml
vendored
5
.github/workflows/deploys-docs.yml
vendored
|
@ -30,8 +30,7 @@ jobs:
|
||||||
set -e
|
set -e
|
||||||
cmake -B build
|
cmake -B build
|
||||||
make -C build doxygen-doc
|
make -C build doxygen-doc
|
||||||
mkdir -p gh-pages
|
mv build/doxygen-doc/html gh-pages
|
||||||
mv build/doxygen-doc/html gh-pages/HEAD
|
|
||||||
rm -rf build
|
rm -rf build
|
||||||
|
|
||||||
- name: Build Latest tag docs
|
- name: Build Latest tag docs
|
||||||
|
@ -44,7 +43,7 @@ jobs:
|
||||||
../configure
|
../configure
|
||||||
make doxygen-doc
|
make doxygen-doc
|
||||||
cd ..
|
cd ..
|
||||||
mv build/doxygen-doc/html/* gh-pages/
|
mv build/doxygen-doc/html gh-pages/stable
|
||||||
rm -rf build
|
rm -rf build
|
||||||
|
|
||||||
- name: Upload pages
|
- name: Upload pages
|
||||||
|
|
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -1,3 +1,6 @@
|
||||||
# Generic ignores for cmake project
|
# Generic ignores for cmake project
|
||||||
/out/**
|
|
||||||
/build/**
|
/build/**
|
||||||
|
/out/**
|
||||||
|
|
||||||
|
# VIM
|
||||||
|
*.swp
|
||||||
|
|
28
README.md
28
README.md
|
@ -5,10 +5,14 @@
|
||||||
|
|
||||||
[](https://maclara-llc.com)
|
[](https://maclara-llc.com)
|
||||||
|
|
||||||
|
> [!WARNING] The current LibJWT code is under heavy reconstruction and is changing
|
||||||
|
> wildly from the API and ABI of v2 and prior. There's still a lot going on here,
|
||||||
|
> and there are no guarantees that this new API is set in stone. Users beware.
|
||||||
|
|
||||||
## :bulb: Supported Standards
|
## :bulb: Supported Standards
|
||||||
|
|
||||||
Standard | RFC | Description
|
Standard | RFC | Description
|
||||||
-------------------- | :--------: | --------------------------------------
|
-------------------- | :------------------------------------------------------------------------: | ---------------------
|
||||||
``JWT`` | :page_facing_up: [RFC-7519](https://datatracker.ietf.org/doc/html/rfc7519) | JSON Web Token
|
``JWT`` | :page_facing_up: [RFC-7519](https://datatracker.ietf.org/doc/html/rfc7519) | JSON Web Token
|
||||||
``JWA`` | :page_facing_up: [RFC-7518](https://datatracker.ietf.org/doc/html/rfc7518) | JSON Web Algorithms
|
``JWA`` | :page_facing_up: [RFC-7518](https://datatracker.ietf.org/doc/html/rfc7518) | JSON Web Algorithms
|
||||||
``JWS`` and ``JWE`` | :page_facing_up: [RFC-7518](https://datatracker.ietf.org/doc/html/rfc7518) | Specific types of JWA
|
``JWS`` and ``JWE`` | :page_facing_up: [RFC-7518](https://datatracker.ietf.org/doc/html/rfc7518) | Specific types of JWA
|
||||||
|
@ -24,8 +28,8 @@ Standard | RFC | Description
|
||||||
|
|
||||||
### Required
|
### Required
|
||||||
|
|
||||||
- [JANSSON](https://github.com/akheron/jansson) (>= 2.0)
|
- [JANSSON](https://github.com/akheron/jansson">JANSSON) (>= 2.0)
|
||||||
- CMake (>= 3.7)
|
- [CMake](https://cmake.org) (>= 3.7)
|
||||||
|
|
||||||
### Crypto support
|
### Crypto support
|
||||||
|
|
||||||
|
@ -38,14 +42,15 @@ Standard | RFC | Description
|
||||||
|
|
||||||
### Optional
|
### Optional
|
||||||
|
|
||||||
- [Check Library](https://github.com/libcheck/check/issues) for unit testing
|
- [Check Library](https://github.com/libcheck/check/issues) (>= 0.9.10) for unit
|
||||||
- Doxygen (>= 1.13.0)
|
testing
|
||||||
|
- [Doxygen](https://www.doxygen.nl) (>= 1.13.0) for documentation
|
||||||
|
|
||||||
## :books: Docs and Source
|
## :books: Docs and Source
|
||||||
|
|
||||||
:link: [Release](https://libjwt.io/)
|
:link: [Current codebase](https://libjwt.io)
|
||||||
|
|
||||||
:link: [Development](https://libjwt.io/HEAD/)
|
:link: [Stable](https://libjwt.io/stable)
|
||||||
|
|
||||||
:link: [GitHub Repo](https://github.com/benmcollins/libjwt)
|
:link: [GitHub Repo](https://github.com/benmcollins/libjwt)
|
||||||
|
|
||||||
|
@ -63,10 +68,3 @@ for Linux, macOS, and Windows.
|
||||||
$ cd build
|
$ cd build
|
||||||
$ cmake ..
|
$ cmake ..
|
||||||
$ make
|
$ make
|
||||||
|
|
||||||
### Extra Build Info
|
|
||||||
If you have *libcheck* installed you can compile the test suite which you can
|
|
||||||
run using the ``check`` target.
|
|
||||||
|
|
||||||
CMake will auto detect *OpenSSL* and *GnuTLS* and use one or both. There are
|
|
||||||
CMake options to force either one on or off.
|
|
||||||
|
|
|
@ -1,12 +1,18 @@
|
||||||
@mainpage Welcome to LibJWT
|
@mainpage Welcome to LibJWT
|
||||||
|
|
||||||
|
@warning The current LibJWT code is under heavy reconstruction and is changing
|
||||||
|
wildly from the API and ABI of v2 and prior. There's still a lot going on here,
|
||||||
|
and there are no guarantees that this new API is set in stone. Users beware. If
|
||||||
|
you want to see the older documentation,
|
||||||
|
[here's the latest](https://libjwt.io/stable)
|
||||||
|
|
||||||
@section standards \emoji :bulb: Supported Standards
|
@section standards \emoji :bulb: Supported Standards
|
||||||
|
|
||||||
Standard | RFC | Description
|
Standard | RFC | Description
|
||||||
-------------------- | :--------: | --------------------------------------
|
-------------------- | :--------: | --------------------------------------
|
||||||
``JWT`` | @rfc{7519} | JSON Web Token
|
``JWT`` | @rfc{7519} | JSON Web Token
|
||||||
``JWA`` | @rfc{7518} | JSON Web Algorithms
|
``JWA`` | @rfc{7518} | JSON Web Algorithms
|
||||||
``JWS`` and ``JWE`` | @rfc{7518} | Specific types of JWA
|
``JWS`` and ``JWE`` | @rfc{7518} | Specific types of JWT
|
||||||
``JWK`` and ``JWKS`` | @rfc{7517} | JSON Web Keys and Sets
|
``JWK`` and ``JWKS`` | @rfc{7517} | JSON Web Keys and Sets
|
||||||
|
|
||||||
@note Throughout this documentation you will see links such as the ones
|
@note Throughout this documentation you will see links such as the ones
|
||||||
|
@ -18,8 +24,8 @@ Standard | RFC | Description
|
||||||
|
|
||||||
@subsection req Required
|
@subsection req Required
|
||||||
|
|
||||||
- <a href="https://github.com/akheron/jansson">JANSSON</a> (>= 2.0)
|
- [JANSSON](https://github.com/akheron/jansson">JANSSON) (>= 2.0)
|
||||||
- CMake (>= 3.7)
|
- [CMake](https://cmake.org) (>= 3.7)
|
||||||
|
|
||||||
@subsection req_crypto Crypto support
|
@subsection req_crypto Crypto support
|
||||||
|
|
||||||
|
@ -31,22 +37,22 @@ Standard | RFC | Description
|
||||||
|
|
||||||
@subsection optional Optional
|
@subsection optional Optional
|
||||||
|
|
||||||
- <a href="https://github.com/libcheck/check/issues">Check Library</a> for unit
|
- [Check Library](https://github.com/libcheck/check/issues) (>= 0.9.10) for unit
|
||||||
testing
|
testing
|
||||||
- Doxygen (>= 1.13.0)
|
- [Doxygen](https://www.doxygen.nl) (>= 1.13.0) for documentation
|
||||||
|
|
||||||
@section docs \emoji :open_book: Docs and Source
|
@section docs \emoji :open_book: Docs and Source
|
||||||
|
|
||||||
\emoji :link: <a href="https://libjwt.io/">Release</a>
|
\emoji :link: [Current codebase](https://libjwt.io)
|
||||||
|
|
||||||
\emoji :link: <a href="https://libjwt.io/HEAD">Development</a>
|
\emoji :link: [Stable](https://libjwt.io/stable)
|
||||||
|
|
||||||
\emoji :link: <a href="https://github.com/benmcollins/libjwt">GitHub Repo</a>
|
\emoji :link: [GitHub Repo](https://github.com/benmcollins/libjwt)
|
||||||
|
|
||||||
@section prebuilt \emoji :package: Pre-built Packages
|
@section prebuilt \emoji :package: Pre-built Packages
|
||||||
|
|
||||||
LibJWT is available in most Linux distributions as well as through
|
LibJWT is available in most Linux distributions as well as through
|
||||||
<a href="https://formulae.brew.sh/formula/libjwt#default">Homebrew</a>
|
[Homebrew](https://formulae.brew.sh/formula/libjwt#default)
|
||||||
for Linux, macOS, and Windows.
|
for Linux, macOS, and Windows.
|
||||||
|
|
||||||
@section instructions \emoji :hammer: Build Instructions
|
@section instructions \emoji :hammer: Build Instructions
|
||||||
|
@ -59,11 +65,3 @@ $ cd build
|
||||||
$ cmake ..
|
$ cmake ..
|
||||||
$ make
|
$ make
|
||||||
@endcode
|
@endcode
|
||||||
|
|
||||||
@subsection extra Extra Build Info
|
|
||||||
|
|
||||||
If you have *libcheck* installed you can compile the test suite which you can
|
|
||||||
run using the ``check`` target.
|
|
||||||
|
|
||||||
CMake will auto detect *OpenSSL* and *GnuTLS* and use one or both. There are
|
|
||||||
CMake options to force either one on or off.
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue