Coder Social home page Coder Social logo

geco-bern / geco_documentation_template Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 472 KB

Documentation template for R package websites

Home Page: https://geco-bern.github.io/GECO_documentation_template/

License: MIT License

R 0.62% CSS 37.77% HTML 61.61%
documentation documentation-theme package r template

geco_documentation_template's Introduction

GECO pkgdown template

GECO_template provides a custom pkgdown template for GECO packages. Please don’t use it for your own package. This theme was inspired by inspired by tidytemplate, rotemplate and bgtemplate

- NOTE: Do not use this package as a package template, this is for documentation only!
- Use the proper R project template!

How to use GECO_template

Install the template as an R package

devtools::install_github("geco-bern/GECO_documentation_template")

Set the package template as the override template to use when rendering a package documentation using pkgdown

template <- list(package = "gecotemplate")
pkgdown::build_site(devel = FALSE, override = list(template = template))

Everything else can be configured as usual via the _pkgdown.yml file as described in the pkgdown documentation.

Alternatively, set the template in _pkgdown.yml.

template:
  package: gecotemplate

Mathjax

if you want to use Mathjax you’ll need to specify it in the pkgdown config file like so:

template:
  params:
    mathjax: true

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.