Git Product home page Git Product logo

docs's Introduction

Building

Requires:

  • pandoc installed and in your PATH
  • groovy installed and in your PATH

Build procedure:

make

Ouput:

  • html english output

    en/dist/html/*

  • man english output

    en/dist/man/*

  • zip package

    dist/rundeck-docs-VERSION.zip

Writing links

When writing Markdown links between documents, instead of using relative paths and html file names, which might change in the future, you can use these syntaxes to link directly to the page based on its absolute file path;

Link to a page and specify the link text:

[My text][page:administration/configuration/system-properties.md]

Link to the same page. The link text will be set to the document title for that page:

[[page:administration/configuration/system-properties.md]]

You can include anchor text in the page link as well:

[[page:administration/configuration/system-properties.md#rpm-and-deb]]

Use the exact file path/name as present in the language subdirectory. The previous links link to the /en/administration/configuration/system-properties.md file when generated in the en dir.

Either one is preferable to the normal [link](../../path/to/file.html).

API Documentation

The API documentation is located at https://github.com/rundeck/docs/blob/3.0.x/en/api/rundeck-api.md

When adding or updating APIs in Rundeck, please follow these directions for updating the associated API documentation:

  1. Write a summary of changes at the top of the document, this should list each change under a section such as "Added" or "Updated" or "Removed". Each significant change should link to the appropriate endpoint definition.
  2. Example: "Updated Endpoints:" - "GET /api/V/project/[PROJECT]/export - exportScm parameter"

If you are adding a new endpoint:

  1. Add the new documentation under the appropriate section
  2. Name your section header descriptively such as "Running Adhoc Script Urls"
  3. Note the anchor link that will be generated for you section, e.g. "#running-adhoc-script-urls"
  4. At the very bottom of the document, add a Reference link using the form: /api/V/my/endpoint/[PARAM] that links to the anchor based on your newly added section, using the Markdown link reference syntax, e.g.: [/api/V/project/[PROJECT]/run/url]:#running-adhoc-script-urls
  5. If your endpoint uses multiple HTTP Verbs in addition to GET, such as POST/PUT/DELETE, add another Reference link for each verb, such as [DELETE /api/V/token/[ID]]:#delete-a-token
  6. Under the Index section, add a link from your new endpoint path to the correct anchor section.
  7. Repeat for each additional HTTP Verb

Verify your links are correct in the generated documentation

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.