Skip to content
This repository has been archived by the owner on May 23, 2022. It is now read-only.
/ docs Public archive

Documentation for writing code for the Internet Computer

License

Notifications You must be signed in to change notification settings

dfinity/docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Write code for the Internet Computer

You can get started right away by downloading the Internet Computer Software Development Kit (SDK) and cloning an existing sample project or by exploring the documentation. Check out the links below to begin building smart contract canisters to run on the Internet Computer:

  • Get the SDK Download the SDK for the Internet Computer.
  • Quick Start Deploy your first app on the Internet Computer.
  • Examples Repository Explore on your own in the examples repository.
  • Language Guide Explore the Motoko programming language.
  • Videos Watch the Building Applications for the Internet Computer: Fundamentals video series.

Contributing to the documentation

The Internet Computer blockchain is removing the limitations from smart contract software with a network that scales its capacity with demand and serves interactive web content directly to end users. If you are interested in learning more about the project, you can connect with other developers in the community through the Developer Forum and follow us on social media for information about upcoming events and new developments.

If you would like to contribute to the documentation, see our CONTRIBUTING and CODE OF CONDUCT to get started.

Updating the Site Navigation

To update the left-side site navigation, make changes to nav.adoc.

Testing your changes locally

To test your changes locally, clone the [dfinity-docs-playbook] https://github.com/dfinity/dfinity-docs-playbook and follow the installation instructions. Push the changes you want to preview up to a branch on GitHub. You will need to modify the antora-playbook.yml to point to your branch, which will look something like

content:
  sources:
    # Remote repositories and branches
    - url: [email protected]:dfinity/docs.git
      branches: "your-branch-name"

Note: the URL may be different if you are working from a fork

Then, run npm run build to compile the documentation.

You will then need to open the static directory in your browser with a simple static file server to preview your changes.

Note - the root page of the site automatically redirects to https://smartcontracts.org, so you will need to skip past the index to another page. For example, https://127.0.0.1:5500/build/site/docs/quickstart/local-quickstart.html.