Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Pages Section Issues #6

Open
suzannastep opened this issue May 9, 2018 · 4 comments
Open

GitHub Pages Section Issues #6

suzannastep opened this issue May 9, 2018 · 4 comments

Comments

@suzannastep
Copy link
Contributor

I've created a new github.io repository and cloned it to my machine on the same level as the real repository, but I'm having a few issues with the next part getting started guide.

  1. I'm expecting the "touch" command to create an empty .nojekyll file, but it doesn't appear, even as a hidden file, in the suzannastep.github.io directory
  2. cp -r ../'git_repo'/docs/_build/* 'your project name'/. gives me an error even though I made a lattices_pkg file in suzannastep.github.io. This is the error:
    cp: ../lattices_repo/docs/_build/*: No such file or directory
  3. The git that I did right after do nothing to the repository I see online. I wasn't even asked for the username or password.

Thanks, Sue

@wsmorgan
Copy link
Collaborator

wsmorgan commented May 9, 2018

  1. You are correct the touch should be creating an empty file. If it's not doing that then you can create the file some other way like opening the file in emacs and saving it.

  2. Can you verify that the docs/_build directory is actually there? Sphinx should have created it but depending on the options you selected it may be placed somewhere else. Did Sphinx report any errors while it was running?

  3. git by itself doesn't do anything. You have to do a git add ..., git commit -m "", then a git push, at which point it will attempt to do a push. The push will have no effect if 1) there are merge conflicts or 2) you're changes don't change anything in the repository (in which case a message saying you are up to dat will show up). Did any messages show up after you did a git push?

@suzannastep
Copy link
Contributor Author

  1. I tried making the .nojekyll file with emacs, but it still didn't work.
  2. The docs/_build directory was created in the package. I've closed the terminal I was running when Sphinx ran, but I don't remember there being any errors.
  3. Git push says, "Everything up-to-date." When I did the git commit command, it says,
    "On branch master
    Your branch is up-to-date with 'origin/master'.
    Changes not staged for commit:
    modified: ../../../README.md

Untracked files:
../../../.DS_Store
../../../.travis.yml
../../
../../../lattices_pkg/
../../../setup.cfg
../../../setup.py
../../../tests/
../../../tox.ini

no changes added to commit"

@wsmorgan
Copy link
Collaborator

wsmorgan commented May 9, 2018

  1. When you tried saving the .nojekyll file with emacs what happened? Was there an error?
  2. Good
  3. You need to use git add on the files you want to add or use git add . in the root directory to add everything. Homever, this git message looks like it's coming from your package repository, not your github.io repository. Are you sure you're in the right place? If all else fails I can take a look at it tomorrow.

@suzannastep
Copy link
Contributor Author

I think it'll just be easier if I can show it to you tomorrow morning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants