Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

README.md

Outline

Building documentation

Specifying Files

To specify the source files for which to build documentation, modify INPUT and its related fields in docs/source.dox. Note that the INPUT paths are relative to the docs/ directory.

Install Dependencies

Windows

Install these dependencies:

  1. Install Doxygen

MacOS

  1. Install doxygen:
  • Use homebrew to install: brew install doxygen. The executable will be installed in /usr/local/bin which is already in your path.
  • Alternatively, install from here: doxygen. You'll then need to make doxygen available to your command line. You can do this by adding a symbolic link from /usr/local/bin to the doxygen executable. For example, $ ln -s /Applications/Doxygen.app/Contents/Resources/doxygen /usr/local/bin/doxygen

Linux

  1. Install doxygen using your package manager OR from source using the links above.

[Optional] Install Plantuml (all platforms)

Doxygen supports the optional use of plantuml to generate diagrams from @startuml sections. We don't currently rely on this functionality for docs, so it's largely optional. Requirements:

  1. Download/install a functioning java runtime, if you don't already have one.
  2. Download plantuml from here. Set a system environment variable named PLANTUML_JAR with a value of the fullpath to the file system location of the plantuml.jar file you downloaded.

Do it

all platforms

From the rippled root folder:

cd docs
mkdir -p html_doc
doxygen source.dox

The output will be in docs/html_doc.

Docker

(applicable to all platforms)

Instead of installing the doxygen tools locally, you can use the provided Dockerfile to create an ubuntu based image for running the tools:

  1. Install Docker
  2. Build Docker image. From the rippled root folder:
sudo docker build -t rippled-docs docs/

Then to run the image, from the rippled root folder:

sudo docker run -v $PWD:/opt/rippled --rm rippled-docs

The output will be in docs/html_doc.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.