Giter VIP home page Giter VIP logo

docs's Introduction

Open Research Bases

This is the future home of the Open Research Bases Group! We create template bases for the Open Journals organization of journals to drive reproducible, automated research and software development.

img/openbases-petri.png

Resources

The following open source projects are part of the open bases:

Templates

Where are the bases?

We are putting together the first toy examples that will put together a selection of components from above to generate a fully reproducible generation to publication pipeline! They will each be separate repos under the openbases organization. Stay tuned.

Development

We use mkdocs because it's easy to write markdown files. Specifically, we are using the material theme. How does it work?

  1. You fork and clone the docs repository
  2. You develop and preview locally.
  3. When you like your work, you open a pull request back to the upstream docs repository
  4. Your pull request is reviewed and previewed on CircleCI
  5. Merging will build and deploy the docs to the openbases.github.io repo that renders directly at openbases.github.io.

That's it! Any push to master will trigger this flow of events, to be sure that the two repos stay in sync. The updated (deployed) pages are tagged with the commit here.

Local

Here are the dependencies you should install:

pip install -r requirements.txt
# pip install mkdocs mkdocs-material click-man markdown-include

The resulting docs will be built from src into a separate (one level up) [openbases.github.io]. repository. You should not be pushing directly to openbases.github.io but rather do it via pull requests here. Here is how to make changes. First, clone the repository:

git clone https://www.github.com/openbases/docs
cd docs

Then serve, and this is cool because it will update automatically!

mkdocs serve

Then open your browser to http://127.0.0.1:8000 If you want to build, then create a directory outside of your repository like this:

mkdir -p ../openbases.github.io
mkdocs build

The code is updated in ../openbases.github.io. When you are ready, push to your branch and open a pull request.

Mkdocs Quick Reference

Commands

  • mkdocs new [dir-name] - Create a new project.
  • mkdocs serve - Start the live-reloading docs server.
  • mkdocs build - Build the documentation site.
  • mkdocs help - Print this help message.

Project layout

    mkdocs.yml    # The configuration file.
    docs/
        index.md  # The documentation homepage.
        ...       # Other markdown pages, images and other files.

Docker

If you want, you can also develop in the container!

docker build -t openbases/openbases.github.io .
docker run --rm -v --port 8000:8000 $PWD/:/code openbases/openbases.github.io

Support

Please don't hesitate to reach out and ask us a question, or contribute!

docs's People

Contributors

coliff avatar vsoch avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

docs's Issues

web site and documentation

The documentation / website for the templates will eventually live here, so we need a nice generation strategy. @FelixHenninger I really like what you have for LabJS, and actually @jodeleeuw yours too! Should we start with a variation on that?

[social affiliations]

a discussion for down the road (that I'll put here so I don't forget) is how we want to engage with the community. It might be via existing avenues (e.g., personal and associated twitter or similar) or via a themed account just for it. For now, I'm just putting these as place holders:

extra:
  social:
    - type: 'github'
      link: 'https://github.com/openbases'
    - type: 'docker'
      link: 'http://hub.docker.com/r/openbases'
    - type: 'twitter'
      link: 'https://twitter.com/vsoch'
    - type: 'linkedin'
      link: 'https://linkedin.com/in/vsochat'

Not sure if Docker is an allowed type, but if not, I'll open an issue / PR so it renders nicely for the theme.

user / researcher use cases

We can start a repo under this organization to write up the use cases (from our team discussion) proper. That way we can have version control / PRs to discuss, etc.

open bases and journal logo

I'm terrible with logos, but I want to create an issue proper for solidifying ours! I think the following attributes would be great:

  • Tyler feedback is here
  • Color We want it to be simple, with maybe 2-3 colors? I chose red, blue, gold/yellow since it goes with primary colors (that you mix to make any color!) this coincides with the idea of putting together different components to form each of the bases.
  • style to match labjs, expfactory, and jspsych, I really like a simple clean logo for the openbases organization. For the journal, we can do a different color version of the current branding, if that is most appropriate (and it's gorgeous!)
  • print it should print nicely. Right now, the "petri dish" shapes looks cool, but I'm not sure about printing on paper. That said, does anyone really do this anymore? Paper? (What's that?)
  • Shapes I again chose simple ones (and squiggle) because they are like different modules/components that serve as building blocks to more interesting structures.
  • programmatic generation I'm super tired of needing graphics software! Let's have it created with something easy to tweak like javascript, etc.

I also posted to tholman/generative-artistry#12 for feedback because he is quite skilled at this!

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.