Giter VIP home page Giter VIP logo

wolfssl / documentation Goto Github PK

View Code? Open in Web Editor NEW
10.0 18.0 25.0 11.91 MB

wolfSSL product manuals and documentation.

Home Page: https://www.wolfssl.com

License: GNU General Public License v2.0

CSS 4.24% Makefile 16.48% Dockerfile 1.32% Shell 0.33% C 77.63%
cryptography documentation intrusion-detection intrusion-prevention jce jni jsse mqtt secure-boot ssh ssl tls tpm2 getting-started security

documentation's Introduction

Documentation

This is the new build system for the various wolfSSL products' manuals, please see the READMEs each directory for more information. The advantages of this over previous wolfSSL manuals are:

  • Has a possible code review process
  • Can automatically generate PDF and HTML output
  • Has cross links between parts of the documentation
  • Has links to the required API parts

Building Documentation

To build the documentation you will need Docker running on your system. In this documentation root directory run make to build the documentation for every project which will output in a build subdirectory of this root directory (note: on some systems you may need to use sudo before make). You can also build individual project manuals by doing:

  • make wolfssl
  • make wolfssh
  • make wolfboot
  • make wolfclu
  • make wolfcrypt-jni
  • make wolfmqtt
  • make wolfsentry
  • make wolfssl-jni
  • make wolftpm
  • make porting
  • make fips-ready

Contributing

There is a CONTRIBUTING.md document which outlines how to add manuals to the tree.

Building without Docker

Pre-requisites

If you are not building using the Docker build system above you can build using Ubuntu, this will require around 3GB of packages to be installed:

sudo apt install pandoc texlive-full mkdocs doxygen

You also need Doxybook2 installed which can be found at: https://github.com/matusnovak/doxybook2. Unfortunately there is no package for this. Installation instructions can be found at: https://github.com/matusnovak/doxybook2#Install. You'll likely have to checkout to this commit 1e5f8f0879aa1e908ccce250.

If Doxybook2 is installed in a non-stardard path you can use the environment variable DOXYBOOK_PATH to set it.

Building

When in each manual directory to build the PDF:

make pdf

To build the HTML:

make html

To build both:

make

To run a local HTML server (HTML is built to a temporary area for this):

make serve

Localization

By default, the built output documentation is in English. If you assign a language code to the DOC_LANG variable and call 'make' with it, the output will be localized in that specified language. As of now (end of 2022), the only supported language code is 'JA', which means 'Japanese'. Not all wolfSSL products documentation supports localization. 'make' with DOC_LANG variable for unsupported products is ignored and output in English.

make DOC_LANG=JA

Pre-requisites

For localization to work, the build environment must have the correct fonts installed for the specified language.

Japanese font

'Noto Sans CJK JP' font is used for Japanese localization. You can get the font files from the following Github repository: https://github.com/googlefonts/noto-cjk/tree/main/Sans/OTF/Japanese

You can download the seven NotoSansCJKjp-xxx.otf files from there and put them into /usr/local/share/fonts. You may need 'sudo' for the operation. After coping font files, you need to update font cache by calling:

sudo fc-cache -fv

Then you can confirm the font cache includes the installed font files by 'fc-list'.

fc-list | grep NotoSansCJKjp

You will get the list of installed font files.

documentation's People

Contributors

alex-huleatt avatar anhu avatar bigbrett avatar cconlon avatar coltonwilley avatar danielinux avatar dgarske avatar douzzer avatar ejohnstown avatar embhorn avatar gojimmypi avatar haydenroche5 avatar jacobbarthelmeh avatar julek-wolfssl avatar kaleb-himes avatar kojo1 avatar lealem47 avatar linuxjedi avatar miyazakh avatar philljj avatar takayukimatsuo avatar tim-weller-wolfssl avatar toddouska avatar uriah-wolfssl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.