diff --git a/.github/workflows/deploys-docs.yml b/.github/workflows/deploys-docs.yml
index 712ce4a..7d3fd9a 100644
--- a/.github/workflows/deploys-docs.yml
+++ b/.github/workflows/deploys-docs.yml
@@ -30,8 +30,7 @@ jobs:
set -e
cmake -B build
make -C build doxygen-doc
- mkdir -p gh-pages
- mv build/doxygen-doc/html gh-pages/HEAD
+ mv build/doxygen-doc/html gh-pages
rm -rf build
- name: Build Latest tag docs
@@ -44,7 +43,7 @@ jobs:
../configure
make doxygen-doc
cd ..
- mv build/doxygen-doc/html/* gh-pages/
+ mv build/doxygen-doc/html gh-pages/stable
rm -rf build
- name: Upload pages
diff --git a/.gitignore b/.gitignore
index 5ccab15..8bbf060 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,6 @@
# Generic ignores for cmake project
-/out/**
/build/**
+/out/**
+
+# VIM
+*.swp
diff --git a/README.md b/README.md
index 1bcf814..7054711 100644
--- a/README.md
+++ b/README.md
@@ -5,10 +5,14 @@
[](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
-Standard | RFC | Description
--------------------- | :--------: | --------------------------------------
+Standard | RFC | Description
+-------------------- | :------------------------------------------------------------------------: | ---------------------
``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
``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
-- [JANSSON](https://github.com/akheron/jansson) (>= 2.0)
-- CMake (>= 3.7)
+- [JANSSON](https://github.com/akheron/jansson">JANSSON) (>= 2.0)
+- [CMake](https://cmake.org) (>= 3.7)
### Crypto support
@@ -38,14 +42,15 @@ Standard | RFC | Description
### Optional
-- [Check Library](https://github.com/libcheck/check/issues) for unit testing
-- Doxygen (>= 1.13.0)
+- [Check Library](https://github.com/libcheck/check/issues) (>= 0.9.10) for unit
+ testing
+- [Doxygen](https://www.doxygen.nl) (>= 1.13.0) for documentation
## :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)
@@ -63,10 +68,3 @@ for Linux, macOS, and Windows.
$ cd build
$ cmake ..
$ 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.
diff --git a/doxygen/mainpage.dox b/doxygen/mainpage.dox
index c42dab7..dd37785 100644
--- a/doxygen/mainpage.dox
+++ b/doxygen/mainpage.dox
@@ -1,12 +1,18 @@
@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
Standard | RFC | Description
-------------------- | :--------: | --------------------------------------
``JWT`` | @rfc{7519} | JSON Web Token
``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
@note Throughout this documentation you will see links such as the ones
@@ -18,8 +24,8 @@ Standard | RFC | Description
@subsection req Required
-- JANSSON (>= 2.0)
-- CMake (>= 3.7)
+- [JANSSON](https://github.com/akheron/jansson">JANSSON) (>= 2.0)
+- [CMake](https://cmake.org) (>= 3.7)
@subsection req_crypto Crypto support
@@ -31,22 +37,22 @@ Standard | RFC | Description
@subsection optional Optional
-- Check Library for unit
+- [Check Library](https://github.com/libcheck/check/issues) (>= 0.9.10) for unit
testing
-- Doxygen (>= 1.13.0)
+- [Doxygen](https://www.doxygen.nl) (>= 1.13.0) for documentation
@section docs \emoji :open_book: Docs and Source
-\emoji :link: Release
+\emoji :link: [Current codebase](https://libjwt.io)
-\emoji :link: Development
+\emoji :link: [Stable](https://libjwt.io/stable)
-\emoji :link: GitHub Repo
+\emoji :link: [GitHub Repo](https://github.com/benmcollins/libjwt)
@section prebuilt \emoji :package: Pre-built Packages
LibJWT is available in most Linux distributions as well as through
-Homebrew
+[Homebrew](https://formulae.brew.sh/formula/libjwt#default)
for Linux, macOS, and Windows.
@section instructions \emoji :hammer: Build Instructions
@@ -59,11 +65,3 @@ $ cd build
$ cmake ..
$ make
@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.