Open-Systems-Pharmacology / OSPSuite.ReportingEngine

R implementation of the reporting engine
https://www.open-systems-pharmacology.org/OSPSuite.ReportingEngine/
Other
5 stars 5 forks source link

pkgdown: "standard" theme #707

Closed Yuri05 closed 2 years ago

Yuri05 commented 2 years ago

Let's set the theme of the online documentation to "standard" (dark text, white background)

Also some parts of the vignettes in the online documentation are not displayed correctly. Not sure if it's because of the theme or other settings

E.g. s. https://www.open-systems-pharmacology.org/OSPSuite.ReportingEngine/articles/introduction-re-instances.html#nomenclature

grafik

IndrajeetPatil commented 2 years ago

Change the following in _pkdown.yml:

template:
  bootstrap: 5
  bootswatch: cyborg
  theme: arrow-dark
  bslib:
    primary: "#0054AD"
    border-radius: 0.5rem
    btn-border-radius: 0.25rem

to

template:
  bootstrap: 5

And then run:

pkgdown::build_site()

Like here.

Sorry, I can't build the website locally because there is something wrong with PK installation, so vignettes don't build on my machine.