191fb83dec
* CORDA-3273: Replace deprecated use of Class.newInstance() for sake of DJVM. (#5522) * ENT-4090: move startFlow into try block so exception is caught and managed (#5519) * CORDA-3091: Move executor thread management into CordaRPCConnection (#5491) * CORDA-3184 - Vault Query API enhancement: strict participants matching (#5524) * Implementation of exact participant parsing for common query criteria. * Added more unit tests + fixed a minor bug. * Additional clean-up. * Add documentation and changelog entry. * Revert debug level SQL logging. * Fix detekt errors. * Fix docs formatting in code samples. * Updating baseline (false positives being reported). * Fix "Name shadowed: subRoot" code quality check. * Fix API stability checker failures. * Update baseline. * TM-43 updating code style docs to reflect the addition of Detekt (#5521) * CORDA-3226 Fix dba migration for PostgreSQL following changes in CORDA-3009 and ENT-4192 (#5529) * Fix dta migration for PostgreSQL following changes for CORDA-3009 Invalid hash function used for PersistentIdentity in PersistentIdentityService and ENT-4192 Identity service refactor for confidential-identities and accounts. * Different table definition for PostgreSQL and other dbs in one changeset instead of running generic DDL and the specifically fix table in Postgres (in relation to CORDA-3009 Invalid hash function used for PersistentIdentity in PersistentIdentityService and ENT-4192 Identity service refactor for confidential-identities and accounts). |
||
---|---|---|
.. | ||
docs_builder | ||
ext | ||
source | ||
.gitattributes | ||
.gitignore | ||
build.gradle | ||
index.html | ||
install-docsite-requirements.sh | ||
make-docsite.sh | ||
Makefile | ||
packages.md | ||
README.md | ||
requirements.txt |
Corda Documentation Build
This Readme describes how to build the Corda documentation for the current version. The output html files will be written to the corda\docs\build\html
directory.
Prerequisites / First time build
Before you begin, you need to:
- Install Docker.
- Ensure that Docker is running.
- Select Expose daemon on tcp://localhost:2375 without TLS in the Docker Settings (which you can open from the System Tray by right-clicking the Docker symbol and then selecting Settings)
Build process
- Open a cmd dialogue.
- Navigate to the root location (this is the
\corda
directory) - Run the documentation build (
gradlew makeDocs
or./gradlew makeDocs
)
Windows users: If this task fails because Docker can't find make-docsite.sh, go to Settings > Shared Drives in the Docker system tray agent, make sure the relevant drive is shared, and click 'Reset credentials'.
RST style guide
The Corda documentation is described using the ReStructured Text (RST) markup language. For details of the syntax, see this.
Version placeholders
We currently support the following placeholders; they get substituted with the correct value at build time:
"|corda_version|"
"|java_version|"
"|kotlin_version|"
"|gradle_plugins_version|"
"|quasar_version|"
If you put one of these in an rst file anywhere (including in a code tag), it will be substituted with the value from constants.properties
(which is in the root of the project) at build time.
The code for this can be found near the top of the conf.py file in the docs/source
directory.