Code Monkey home page Code Monkey logo

rotemplate's People

Contributors

bisaloo avatar jeroen avatar maelle avatar njtierney avatar pat-s avatar wlandau-lilly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rotemplate's Issues

Filename of package logo

Hi there,

I guess this issue is related to how pkgdown websites are deployed on https://docs.ropensci.org.

It looks like the filename of the logo matters, using rcites_logo.png I still have my logo but also the RopenSci one, see the difference between https://docs.ropensci.org/rcites/ and https://ropensci.github.io/rcites/.

I guess this is just a matter of adding a sentence (or a link) in the readme mentioning what the logo filename should be!

Hope this helps and thanks for your work on this!

Check failed ropensci docs

See the docs column in https://ropensci.r-universe.dev/

Most problems are probably pre-existent, and not due to the new pkgdown. Still this may be a good moment to try and fix them, otherwise they won't get new docs. Maybe retire some things that are broken and unmaintained.

Local themes override rotemplate

Back before weathercan was part of rOpenSci, I had a red theme for the package docs. This was overridden by the rOpenSci theme, so I ignored it but never removed the red theme. Now in the new theme, parts of that original red show through (https://docs.ropensci.org/weathercan/).

If this is just something I should fix on my end, I'll close the issue and deal with it 😁, but I thought I'd mention it in case it's undesirable behaviour from the template.

Travis deploy

I was only able to create the Travis project under travis-ci.com

At the moment travis::use_travis_deploy() doesn't support .com (but should soon? cc @krlmlr)

Fix horizontal scroll

If there is a vertical scrollbar, we also get horizontal scroll :(

I'm sure it wasn't there before.

Missing CRAN Release date

Hi:

When having a look to my CHANGELOG on a smartphone I can’t see the CRAN release date:

825E8066-F98E-4DF0-880E-53BE0C19836A

However copy-pasting I see that the element is there.

cffr 0.1.1

CRAN release: 2021-11-11

A css issue?

Thin paragraph headers

After switching the template to proxima-nova, the paragraph headers seem pretty thin. Our main site uses a bold headers.

Screen Shot 2022-01-11 at 3 57 07 PM
.

Adapt special theme for ropenscilabs

In our staff meeting on July 31 we discussed again the question if we should build and host docs for unsupported and silly ropenscilabs packages.

We decided we want to keep providing docs for everything in the registry, but display labs package with a an adapted theme that emphasizes this is not an official on-boarded ropensci project, but rather an experimental package.

CoC and Contributing links?

I've experimented with pkgdown before and one thing I noticed is that CoC and Contributing links are not automatically added. Would you think about that in an ROpenSci template? Also (cough).

pkgdown GH build states: "rotemplate is not installed"

Hi there!

When my visdat package is being built I get this error on GH actions.

== Building pkgdown site =======================================================
Reading from: '/Users/runner/work/visdat/visdat'
Writing to:   '/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/Rtmps0XlXh/file816547b99c9'
-- Initialising site -----------------------------------------------------------
Copying '../../_temp/Library/pkgdown/assets/bootstrap-toc.css' to 'bootstrap-toc.css'
Copying '../../_temp/Library/pkgdown/assets/bootstrap-toc.js' to 'bootstrap-toc.js'
Copying '../../_temp/Library/pkgdown/assets/docsearch.css' to 'docsearch.css'
Copying '../../_temp/Library/pkgdown/assets/docsearch.js' to 'docsearch.js'
Copying '../../_temp/Library/pkgdown/assets/link.svg' to 'link.svg'
Copying '../../_temp/Library/pkgdown/assets/pkgdown.css' to 'pkgdown.css'
Copying '../../_temp/Library/pkgdown/assets/pkgdown.js' to 'pkgdown.js'
Error: Error: rotemplate is not installed
11 Removing worktree 11111111111111111111111111111111111111111111111111111111111
Running git worktree remove \
  /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/Rtmps0XlXh/file816547b99c9
Execution halted
Error: Process completed with exit code 1.

https://github.com/ropensci/visdat/runs/3187831393

I'm not sure that I've changed anything in my pkgdown YAML to trigger this - but looking at the pkgdown for magick and their github workflows - perhaps I don't actually need this pkgdown YAML or GH action?

Header missing links on rtweet

The other day I realized that on rtweet the buttons to reference, vignettes and articles are missing from the header.

Screenshot from 2022-01-14 12-50-59 of BaseSet
Screenshot from 2022-01-14 12-50-50 of rtweet

I think this is not a problem of building the website, but it might be related to other peculiarities of the package(?).
Thanks for providing these templates!

Serve resources common to all websites from the same URL

It would be great if resources shared between all rOpenSci pkgdown websites (e.g. hexlogo.png, ropensci.css, link.svg, pkgdown.css, pkgdown.js) could be served from the same URL. For example:

https://docs.ropensci.org/ropensci.css instead of https://docs.ropensci.org/PACKAGE/ropensci.css

(in the code <link href="../ropensci.css" rel="stylesheet"> instead of <link href="ropensci.css" rel="stylesheet">).

This would enable caching across all rOpenSci pkgdown websites, thereby increasing speed, and decreasing bandwidth usage.

accessibility - navbar

I saw issue #14 but I think there should be more consideration of accessibility. I wanted to submit a new issue because the low navbar contrast actually makes it very difficult to read without hovering over each item (which turns them white- they should probably be white already).

I am not an expert on accessibility either by any means, but there are great tools that help a significantly with getting web content closer to WCAG standards

I understand if we do not have the resources or expertise to make our pages meet every single criterion. None of the web content I produce does either. But I feel like the low contrast navbar is pretty egregious currently and as a low-hanging fruit we could easily do better there.

low_contrast

Making the font white and even bold would make a huge difference. Technically, even that will still fail the contrast test, due to the lightness of the blue background. But still a major improvement. Hovering over items can always be indicated by changing the background color rather than the foreground text, similar to how selected items change. Again, I am not an expert either, so there is nothing special about these particular suggestions.

Anyway, it does sound like people have already met to discuss accessibility, but while there are seemingly countless accessibility guideline items, some could be prioritized to address and are very easy to do so. This one seems very pertinent. While I do have outlier-level poor vision, I at least benefit from corrective lenses (though they do make everything I see appear notably smaller in size than what most people see). There will be plenty of people who find the navbar more difficult to read than I do. I just would like to encourage revisiting this and adoption of some of these tools if they have not been used previously.

color of toggle button

when the screen is not wide. the button should be the same color as other text in the navbar.

Add tests with mathjax and boostwatch

Our wrapper needs to overwrite the template:params however I keep breaking one case when fixing another.

It seems that if we pass a list() in our overrides, the params merge (instead of replace) the ones from the _pkgdown.yml. In this scenario we get an error like here.

Error : Can't find Bootswatch theme 'readable' (template.bootswatch in '_pkgdown.yml') for Bootstrap version '5' (template.bootstrap in '_pkgdown.yml')

So instead I tried to set params=NULL in our overrides and manually set mathjax = TRUE later in the wrapper, but then I found out this had broken our mathjax docs again.

So now I reverted it again, but we really need unit tests that test at least these two scenarios.

pkgdown 2.0.2 broke our navbar

I think the update to pkgdown 2.0.2 broke our navbar. There is too much top-margin, and not enough bottom margin now. I think it has to do with our hexlogo in the nav bar.
Probably related to r-lib/pkgdown#1989

Before (pkgdown 2.0.1)

Screen Shot 2022-01-17 at 2 25 20 PM
Screen Shot 2022-01-17 at 2 25 15 PM

After (pkgdown 2.0.2)

Screen Shot 2022-01-17 at 2 31 54 PM
Screen Shot 2022-01-17 at 2 31 49 PM

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.