GithubHelp home page GithubHelp logo

corda-docs-portal's Introduction

R3 Product Documentation

The documentation source files are under the ../content directory in the corda-docs-portal repository, and is written in markdown.

The HTML documentation output is generated using Hugo. You can build and edit the docs locally using npm and a markdown editor.

Build and edit the docs locally

  1. Install npm.
  2. Install a markdown editor of your choice.
  3. Fork the corda/corda-docs-portal repository, and clone your fork.
  4. From the root directory of the repository, run npm install. This installs all the required modules to build the documentation locally.
  5. Open a new branch and create/edit the relevant markdown file(s) in the content directory.
  6. Run hugo server --watch=false to build the documentation locally. Please note that due to an existing unresolved Hugo bug that manifests for larger websites like docs.r3.com, at the moment it is not possible to build the documentation locally with dynamic content refresh - you need to CTRL-C and run the build again after you make changes to your content. We hope that Hugo will resolve this soon!
  7. Navigate to https://localhost:1313 to view the locally built documentation.
  8. Push your changes to GitHub and open a pull request.

Keep your fork in sync with the documentation

To best way to keep your fork in sync with the main documentation repository is to add it an upstream remote after you create your fork.

Add the upstream remote

To add an upstream remote:

git remote add upstream https://github.com/corda/corda-docs-portal.git

The URL of a remote can be changed using the git remote set-url command.

View your remotes

To view your remotes:

git remote -v

Remove a remote

If you need to remove a remote:

git remote rm remote-name

Get the latest updates from the upstream remote

To update your current branch, rebase on the latest changes from the upstream remote. This will protect any unmerged commits from being overwritten:

git rebase upstream/main

Tell us what you think

We would greatly appreciate your feedback about the documentation content, website, and repository.

  1. Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.
  2. Create a new GitHub issue in this repository - submit technical feedback, draw attention to a potential documentation bug, or share ideas for improvement and general feedback.
  3. Help us to improve the docs by contributing to the content directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions. Learn how to do this here.

corda-docs-portal's People

Contributors

aaronforinton avatar alebaffa avatar amcfarlandcampbellr3 avatar amosmwsmith avatar annak-r3 avatar barrylapthorn avatar benpesterr3 avatar chrisjones-r3 avatar davidawad avatar davidjgolding avatar dependabot[bot] avatar dgounaris avatar edward-prosser avatar erinking-r3 avatar gautamsaumya avatar ivanterziev-r3 avatar jessicasavvy avatar ksabah avatar ldm0 avatar lizr3 avatar maryforde avatar michelemarsden avatar nikinagy avatar nkovacsx avatar przemolb avatar ritzdorf avatar szymonsztuka avatar taylorharvey-r3 avatar woggioni avatar wzur-r3 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.