Giter Club home page Giter Club logo

rladies.github.io's Introduction

Repository for the R-Ladies website

Netlify Status

This repository contains the source files for the R-Ladies website. The site is built with hugo and netlify

Information about the site internals and setup can be found in the repo wiki

Contribute to the site development

There are many types of contributions we are happy to receive, for instance:

If you want to contribute to the site, the best option is to branch the repo if you have access. PRs from branches will render previews, while PRs from forks will not. If you do not have access to branch the repo, fork and PR when ready, and tag @drmowinckels for review. She will get to it asap.

Reports of bugs

Please report any bugs or issues on the page on github issues. You can also use this same link to request content you feel is missing. If you would like to give us a hand at fixing some of the issues listed, we would greatly appreciate that.

Visualisation of build process

graph TB

A[Checkout repository] --> B[Get Hugo version]
B --> C[Install cURL Headers]
C --> D[Setup R]
D --> E[Setup renv]
E --> F["Populate untranslated pages\n(scripts/missing_translations.R)"]

subgraph Site Data
  F --> G["Get directory data\n(rladies/directory)"]
  F --> H["Meetup\n(rladies/meetup_archive)"]
  F --> I["Get blogs list\n(rladies/awesome-rladies-blogs)"]
  G --> J["Clean cloned repos"]
  J --> K["Merge chapter and meetup\n(scripts/get_chapters.R)"]
end

H --> J
I --> J
K --> L[Setup Hugo]
L --> M[Build]

M -->|Production| N[Deploy]

M -->|Preview| O[Install netlify cli]
O --> P[Deploy Netlify]
P --> Q["Notify PR about build"]

rladies.github.io's People

Contributors

actions-user avatar andreasancheztapia avatar aratikrish avatar averi-giudicessi avatar benubah avatar blask0 avatar chriszasa avatar chucheria avatar cosimameyer avatar d4tagirl avatar darokun avatar divyaseernani avatar drmowinckels avatar fgazzelloni avatar flor14 avatar gdequeiroz avatar hfrick avatar ichisa avatar lauracion avatar ledell avatar maelle avatar mounabelaid avatar nrennie avatar palolili23 avatar rivaquiroga avatar sbnadejda avatar shannonpileggi avatar soyandrea avatar thisisnic avatar yabellini avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

rladies.github.io's Issues

Make sure translations are ok

We currently have 4 languages on the website, French (fr), Portuguese (pt), and Spanish (es), in addition to English.

The various translated strings around the webpage are defined in the themes-folder.
The strings need to be checked for good translations (they are now a mix of content I've found elsewhere and google translate, so I'm not expecting them to be awesome).

Anyone willing and able to help make sure the translations are good would be great.

getting events trough CI

Currently, updates of events information must be done interactively, since we have not managed to setup meetupr to work in CIs. For the events page to work as wanted, we need to fix meetupr to work with a CI, so we can create a workflow here that grabs events data on regular intervals (preferably through github actions).

landing page chevron

The downards chevron on the landing page is not at the center of the page. I dont know why not.

All fork PRs fail

All fork PRs will fail for not having access to directory repo.
Add a flag that will not grab directory data from repo on a fork PR.

Have a meetup OAuth client

I think that one should not only generate an OAuth token for this use case but also a specific OAuth consumer/app see https://secure.meetup.com/meetup_api/oauth_consumers/ (what is called third-party app in r-hub/blog#142 <- all I know about OAuth!). Otherwise imagine someone uses the meetupr default app and depletes the (undocumented) request limit for a while: in this case the website infrastructure could no longer fetch events.

Originally posted by @maelle in #12 (comment)

move CoC to website content

Move CoC's to specific multilingual files in content from .github.
Update .github to link to each of the rendered language versions when the site goes live

mentor page

currently generated flex-grid via Rmd. As part of #9, should switch to hugo templates.

needs:

  • data/mentoring.json file
  • hugo data template for mentoring
  • hugo theme layout for mentoring grid
  • css for the grid

page translations

Page translations are not working well at the moment.

Find a way to:

  • redirect to original content page if page is not translated (is that possible in hugo).
  • only make it possible to switch language if the page is translated

Switch to only needing hugo, no blogdown

There is currently quite some Rmd content (all?), which we should move to md.

The website should ideally run entirely on hugo, rather than needing blogdown.
Since the website is mainly static content, which will only need periodic updates, and is not a page with tutorials etc for coding, needing blogdown adds a layer of complexity that creates overhead in maintaining.

Switching the webpage to pure hugo will require quite some work:

  • theme adaptations for special pages (like hugo data templates for the directory and global team pages).
  • altering all Rmds to md, and making sure that if there is executing code that this can be achieved through other hugo means (like data templates etc).

move tui js to events specific footer

Also, there are quite some js-libs linked to do this, and maybe it's better to set up footer blocks so that the tui js is onlu loaded for the events page and not for the entire page always. I dont know if that has anything to say for speed if the page anyway does not call the js-scripts?

All TUI scripts are in their own partial html already

Originally posted by @Athanasiamo in #12 (comment)

directory "activities"

below the "interest" field in the directory card, there should appear some extra information about r_groups, and packages etc that the person has listed. These appear in the local development version, but not on the preview or production sites through netlify.

its the activities.html partial that should be rendering these, called in the directory/li.html partial.

I believe the jsons for the direcotry and in the data-folder are set up equally, but might be missing something.

BML resources

We will incorporate into our website a dedicated page of resources and information regarding tangible actions we, as an organisation, and single individuals can take to support #BlackLivesMatter and other social justice movements.

https://blog.rladies.org/post/2020-06-06-blm/

TUI calendar issues

Toast UI calendar is what we use to display our events.
https://ui.toast.com/tui-calendar/

There is something missing in the setup making alot of the functionality not work.

For instance, I had to alter the nav to work properly, since the buttons were not doing anything when pressed. I hard-coded them to connect to TUI calndar functions, but I believe this should not have been necessary.

Also, the date range of the displayed calendar should be appearing, but it is not. #39

events layout page: https://github.com/rladies/website/blob/master/themes/hugo-initio-rladies/layouts/events/single.html

translated pages not working well

I think I have not setup the theme or maybe the content (I'm not sure) to work well with translated pages.
Currently, when trying to access translated pages through the footer, most pages are empty (because most pages are not translated).

directory grid size

I think it would be ideal if users could themselves choose:

  • size of grid items (maybe 3 different options, large, medium, small)
  • number of items per page

This will help those with visual impairments choose larger items and text, and those wanting smaller to choose that.
The smallest maybe even ignoring photos.

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.