Skip to content

onginnovations/documentation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docs web

https://docs.decentraland.org/

Set up local environment

  1. Install Hugo locally
  2. Clone this repository (including the submodules)
    git clone --recurse-submodules https://github.com/decentraland/documentation.git
    
  3. Run hugo serve to preview changes locally and follow the instructions in the terminal to open a browser

Links syntax

[Link to page]({{< ref "/content/subsection/page.md" >}})

More info: https://gohugo.io/content-management/cross-references/

To publish [publish]({{< ref "/content/creator/scenes/publishing/publishing.md" >}}) your scene bla bla bla

Debugging pages values

To debug the current context of Hugo (the site renderer) you may use this snippet

{{- printf "%#v" . -}}

or

{{- printf "%#v" $ -}}

Multi platform tabs

Tabs should be used to list content for different platforms as seen in /content/creator/scenes/getting-started/sdk-101.md

{{< tabs "open-terminal" >}}
{{< tab "Windows" >}} Right click on the Start button, then search for "_cmd_" and select the "Command Prompt". {{< /tab >}}
{{< tab "MacOS" >}} Open the Launchpad (Cmd+space) and look for "_Terminal_" {{< /tab >}}
{{< tab "Linux" >}} You already know how to do it {{< /tab >}}
{{< /tabs >}}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Mathematica 99.2%
  • CSS 0.3%
  • HTML 0.2%
  • Python 0.2%
  • JavaScript 0.1%
  • Shell 0.0%