Giter VIP home page Giter VIP logo

Comments (7)

vubo avatar vubo commented on September 22, 2024

Thank you, Carol. I created the project at Read The Docs: http://vms.readthedocs.org/

from vms.

willingc avatar willingc commented on September 22, 2024

@vubo Nice! Good job taking the initiative to dig into Sphinx, restructuredText (rst), and Read The Docs.

Docs are really important for a healthy, productive project. It's one of the ways that developers share project knowledge and onboard new developers to a project.

Why don't you make a pull request to submit your work to this repo? I think it's great to build one's skills with git and GitHub as well as sharing your work with others on the project. Personally, I find it helpful to regularly (daily or a few times a week) submit code to a project.

The basic steps for a pull request are in the Systers' Portal project documentation. Here's a checklist of some generic steps and git commands that I use:

  • Fork the project
  • Clone it to your local development system git clone
  • Set up your git remotes (origin and upstream) git remote -v git remote add <remote name> <url of remote repo> (Remotes can be confusing at first so please ask questions or if you want to chat on IRC about them) Note: you will only need to do this step once.
  • Create a local branch for any new development git branch <feature branch name> and checkout the branch git checkout <feature branch name>
  • Develop and commit changes to the local branch git add, git commit, git log, git status
  • Get the most up to date version of the upstream code git fetch upstream
  • Rebase your changes onto upstream git rebase upstream/master Use git log to check that your commit is the most recent.
  • Push the changes to your GitHub repo git push origin <feature branch name>
  • Go to your account in GitHub and submit the pull request 😄

As an aside, git status is your friend. Use it often 😉

While this might seem like a lot now, it's very helpful to have a consistent workflow since it keeps you organized and saves time and reduces errors in the long run.

cc/ @rosariorobinson @Nerdylicious @tapasweni-pathak and Suzanne (If someone has her GitHub user name, please add in a comment. Thanks.

from vms.

vubo avatar vubo commented on September 22, 2024

@willingc, thank you very much for the detailed instructions. I will follow them!
I have already fulfilled many of them, but a few are still waiting their turn ("rebase" for example).

Read The Docs also supports Markdown docs written with Mkdocs. And the documentation for VMS is written in Git Flavored Markdown. And now I'm just published our documentation on the Read The Docs. Nothing had to be changed and it looks nice.

Do you think, perhaps, we should continue to write documentation in Markdown? Or should we use the Sphinx? I'm not familiar with the Sphinx, so it's hard to decide for me.

Thank you!

from vms.

willingc avatar willingc commented on September 22, 2024

@vubo Cool! I didn't realize that Mkdocs was supported in Read The Docs now. You've taught me something new :sun:

I'm going to leave the call on whether Markdown or restructuredText as well as the corresponding Mkdocs and Sphinx to @rosariorobinson and others. It would be nice to be consistent across projects, and she, along with others, have a better view of all the projects. Currently, Portal uses restructuredText and Sphinx.

As a bit of background on Sphinx, it's nice because it's widely used in the Python/Django communities and it can run some nice tests when building the docs.

I would still go ahead and make a pull request with the configuration file for Mkdocs and a new brief markdown file for the docs with some simple instructions if someone else wanted to use Mkdocs to build the docs locally.

I'm hoping creating the pull request will help you feel comfortable working with git and GitHub before we get into the more rigorous development part of the GSOC. I just want to make sure you have the tools and knowledge to be productive :)

from vms.

vubo avatar vubo commented on September 22, 2024

@willingc, thank you! I did pull request with two commits: #14

Can I choose commits for the pull request? For example, only commit 87c15cb

from vms.

willingc avatar willingc commented on September 22, 2024

@vubo Great! I left you a couple of comments on the PR.

A couple of tips...

  1. If you mention the issue number in a comment or title of the pull request, GitHub will put a note in the issue that there is an outstanding pull request addressing the issue. See my comment in the PR and the note above.
  2. It's good practice when making a Pull Request to have an issue opened for the change as well. If an issue doesn't already exist, you would file an issue with a brief summary of what feature/fix/action is needed. Then, you will file a pull request and reference the newly created issue. It's good practice because the pull request will then match an issue and it helps for maintainability and project history (especially when you look at something i.e. a bug months later).

Yes, you can choose commits for a pull request. In fact, I would recommend splitting the pull request into two pull requests. Remember git rebase and branches. I'm heading out for the day but would be willing to walk you through the process tomorrow. Here are a few resources if you want to give it a try: http://openhatch.readthedocs.org/en/latest/advanced/working_with_git.html and http://git-scm.com/docs and https://github.com/pydata/pandas/wiki/Using-Git

Keep up the good work! 🐧

from vms.

willingc avatar willingc commented on September 22, 2024

I'm closing this issue since the current use of Read The Docs is serving the project well.

from vms.

Related Issues (20)

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.