diff --git a/docs/source/_static/custom.css b/docs/source/_static/custom.css index 64799eb..efd4051 100644 --- a/docs/source/_static/custom.css +++ b/docs/source/_static/custom.css @@ -277,32 +277,48 @@ a.headerlink { display: none; } .cnx-footer { border-top: 1px solid #e1e4e5; padding: 1.25rem 2rem; + background: #fcfcfc; +} + +.footer-inner { display: flex; - justify-content: center; align-items: center; - background: #fcfcfc; + justify-content: space-between; + gap: 1rem; } -.footer-address { +.footer-right { display: flex; align-items: center; - gap: 0.75rem; + gap: 1rem; } .footer-copyright { font-size: 0.8rem; + color: #9ba8b4; } -.footer-copyright a { +.footer-links { + display: flex; + align-items: center; + gap: 0.5rem; + font-size: 0.8rem; +} + +.footer-links a { color: #9ba8b4; text-decoration: none; } -.footer-copyright a:hover { +.footer-links a:hover { color: #007bff; text-decoration: underline; } +.footer-sep { + color: #d0d7de; +} + .footer-flag img { width: 24px; height: 24px; @@ -318,7 +334,13 @@ a.headerlink { display: none; } } @media (max-width: 480px) { - .cnx-footer { + .footer-inner { + flex-direction: column; + align-items: flex-start; + gap: 0.5rem; + } + + .footer-right { flex-direction: column; align-items: flex-start; gap: 0.5rem; diff --git a/docs/source/_templates/layout.html b/docs/source/_templates/layout.html index b8f0919..8760d6c 100644 --- a/docs/source/_templates/layout.html +++ b/docs/source/_templates/layout.html @@ -75,15 +75,43 @@ {% endblock %} +{# ── Inject Home link as first sidebar nav item ────────────────────── #} +{% block scripts %} +{{ super() }} + +{% endblock %} + {# ── Custom footer ─────────────────────────────────────────────────── #} {% block footer %} diff --git a/docs/source/conf.py b/docs/source/conf.py index 2e0a6da..a840ac5 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -53,3 +53,4 @@ html_show_sourcelink = False html_copy_source = False +html_show_sphinx = False diff --git a/docs/source/copyright.rst b/docs/source/copyright.rst deleted file mode 100644 index cf37d88..0000000 --- a/docs/source/copyright.rst +++ /dev/null @@ -1,46 +0,0 @@ -.. _copyright: - -========= -Copyright -========= - -© Copyright 2026, Cryptnox SA. All rights reserved. - - -Trademarks -========== - -Cryptnox and Cryptnox Hardware Wallet are trademarks of Cryptnox SA. -All other marks are the property of their respective owners. - - -Disclaimer -========== - -This document may be revised without prior notice. Cryptnox SA assumes no -responsibility for any errors that may appear in this document, nor does it -make a commitment to update the information contained herein. - -In no event shall Cryptnox SA be liable for any special, indirect, or -consequential damages or any damages whatsoever resulting from loss of use, -data, or profits, whether in an action of contract, negligence, or other -tortious action, arising out of or in connection with the use or performance -of software, documents, provision of or failure to provide services, or -information available from this documentation. - -The software described in this documentation is licensed under the terms of -the accompanying license agreement or any separate agreement signed between -the user and Cryptnox SA. - - -Contact -======= - -| CRYPTNOX SA -| 36 Avenue Cardinal Mermillod -| 1227 Geneva -| Switzerland - -IDE: CHE-432.952.622 - -For support and inquiries, visit `cryptnox.com `_. diff --git a/docs/source/cryptnox-cli.rst b/docs/source/cryptnox-cli.rst new file mode 100644 index 0000000..bf10d51 --- /dev/null +++ b/docs/source/cryptnox-cli.rst @@ -0,0 +1,8 @@ +Cryptnox CLI +============ + +*Cryptnox CLI* is a command-line tool for interacting with Cryptnox smartcards from the terminal. +It handles card initialization, secure channel establishment, PIN management, seed generation, +key derivation, and transaction signing through a straightforward command interface. + +`View CLI User Guide <./cryptnox-cli/index.html>`_ diff --git a/docs/source/cryptnox-sdk.rst b/docs/source/cryptnox-sdk.rst new file mode 100644 index 0000000..b214ef9 --- /dev/null +++ b/docs/source/cryptnox-sdk.rst @@ -0,0 +1,9 @@ +Cryptnox SDK +============ + +*Cryptnox SDK for Python* is a library that enables developers to integrate Cryptnox smartcard +functionality into their own applications. It provides programmatic access to secure channel +establishment, APDU communication, key derivation, and signing operations, allowing custom +wallet software and automation workflows to leverage the card's hardware security. + +`View SDK Documentation <./cryptnox-sdk-py/index.html>`_ diff --git a/docs/source/hardware-wallet.rst b/docs/source/hardware-wallet.rst new file mode 100644 index 0000000..6968c29 --- /dev/null +++ b/docs/source/hardware-wallet.rst @@ -0,0 +1,8 @@ +Cryptnox Hardware Wallet +======================== + +*Cryptnox Hardware Wallet* is a JavaCard Open Platform 3 smartcard with an EAL6+ Common Criteria +certified secure element. It provides hardware-secured private key storage and transaction signing +for cryptocurrency applications over NFC and contact (T=1) interfaces. + +`View Technical Reference <./hardware-wallet/index.html>`_ diff --git a/docs/source/index.rst b/docs/source/index.rst index 3c36597..28a1bc6 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -5,34 +5,21 @@ Cryptnox Product Documentation .. toctree:: :maxdepth: 3 :caption: CONTENTS - :hidden: - copyright + hardware-wallet + cryptnox-cli + cryptnox-sdk + legal-notice Cryptnox Hardware Wallet ========================= -.. raw:: html - -
- - - - - -
- *Cryptnox Hardware Wallet* is a JavaCard Open Platform 3 smartcard with an EAL6+ Common Criteria certified secure element. It provides hardware-secured private key storage and transaction signing for cryptocurrency applications over NFC and contact (T=1) interfaces. -All communication is protected by a secure channel based on GlobalPlatform SCP03, ensuring -confidentiality, authentication, and integrity. The card supports SECP256k1 and SECP256r1 curves -with ECDSA and BIP340 Schnorr signing, BIP32/SLIP10 hierarchical key derivation, and multiple -authentication methods including PIN, user key challenge-response, and FIDO. - -* **Hardware Wallet Technical Reference** [`View Docs `__] +* **Hardware Wallet Technical Reference** [`HTML <./hardware-wallet/index.html>`__] ------------------------- @@ -41,20 +28,11 @@ authentication methods including PIN, user key challenge-response, and FIDO. Cryptnox CLI ============= -.. raw:: html - -
- - - -
- *Cryptnox CLI* is a command-line tool for interacting with Cryptnox smartcards from the terminal. It handles card initialization, secure channel establishment, PIN management, seed generation, key derivation, and transaction signing through a straightforward command interface. -* **Cryptnox CLI User Guide** [`View Docs `__] +* **Cryptnox CLI User Guide** [`HTML <./cryptnox-cli/index.html>`__] ------------------------- @@ -63,21 +41,12 @@ key derivation, and transaction signing through a straightforward command interf Cryptnox SDK for Python ========================= -.. raw:: html - -
- - - -
- *Cryptnox SDK for Python* is a library that enables developers to integrate Cryptnox smartcard functionality into their own applications. It provides programmatic access to secure channel establishment, APDU communication, key derivation, and signing operations, allowing custom wallet software and automation workflows to leverage the card's hardware security. -* **Cryptnox SDK for Python** [`View Docs `__] +* **Cryptnox SDK for Python** [`HTML <./cryptnox-sdk-py/index.html>`__] ------------------------- @@ -87,6 +56,4 @@ Other resources =============== * `Cryptnox Website `_ -* `Cryptnox on GitHub `_ -* `Cryptnox Shop `_ -* `Cryptnox Support `_ +* `Cryptnox on GitHub `_ diff --git a/docs/source/legal-notice.rst b/docs/source/legal-notice.rst new file mode 100644 index 0000000..50b3739 --- /dev/null +++ b/docs/source/legal-notice.rst @@ -0,0 +1,5 @@ +Legal Notice +============ + +For Cryptnox legal notices, trademarks, disclaimers, and contact information, +please visit `cryptnox.com/legal-notices `_.