Code Monkey home page Code Monkey logo

git-tutorial's Introduction

PSL incubating

Git and GitHub Use, Collaboration, and Workflow (IN PROGRESS)

This repository houses the source code and content files for the open access, Git and GitHub Use, Collaboration, and Workflow book tutorial and training that many contributors to the PSLmodels community use. This project uses Jupyter Book 0.7.3 to create the HTML and Jupyter notebook forms of the tutorial. This public GitHub repository hosts all the source code for the book, and the compiled Jupyter book is available at the GitHub page for this repository https://pslmodels.github.io/Git-Tutorial, up to the most recent commit to the master branch. We hope to add tutorial videos at some point in the future. This project is maintained by Richard W. Evans and Jason DeBacker.

Contributing to the book

We welcome contributions and updates to the content of the book. This is done by following fork/edit/pull-request workflow.

From your fork of this repository, you can generate your own version of the book by creating and activating a customized conda environment (virtual environment) and using the Jupyter Book build commands.

Setting up the virtual environment

The virtual environment specifications are defined in the environment.yml file. If you have not set up the conda environment, navigate to your Git-Tutorial repository folder in your terminal on your local machine and execute the following two commands. If you have already created the conda environment, then simply activate it using the second command below (skip the first command).

conda env create -f environment.yml
conda activate jb-git-tutorial

Building a Jupyter Book

Run the following command in your terminal:

jb build ./book

If you would like to work with a clean build, you can empty the build folder by running:

jb clean ./book

If jupyter execution is cached, this command will not delete the cached folder.

To remove the build folder (including cached executables), you can run:

jb clean --all ./book

Notes

Put notes here.

git-tutorial's People

Contributors

jdebacker avatar matthjensen avatar rickecon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

git-tutorial's Issues

Navbar section numbering doesn't renders on local build or on web deploy

I have posted this problem as an bug Issue #822 in the Jupyter Book repository. Our chapter numbers are not rendering when we build the book.

In an earlier version of jupyter-book the local build of the book accessed by opening the file ./_build/html/index.html in a Google Chrome browser, the left-side navbar looks as expected. I've circled in red the navbar chapter numbers we expected.

JupyterBook_wnums2

However, with the updated jupyter-book=0.7.3 and the updated _config.yml and _toc.yml, the book now renders locally and on the GitHub page upon build with no chapter numbers.

JupyterBook_nonums2

Cover GitHub CLI

I've just started playing around, seems pretty cool: https://github.com/cli/cli

Might be early/experimental to cover here, but at some point it'd probably be valuable.

e.g. a small handy thing is that gh repo clone automatically adds the upstream remote, e.g. gh repo clone https://github.com/MaxGhenis/jupyter-book adds executable-notebooks/jupyter-book.

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.