-
Notifications
You must be signed in to change notification settings - Fork 3
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
how to view updated minimal edition? #37
Comments
@nikhil: this should work. However, are you running the xslt stylesheet on the xml file you have changed. That is what generates the markdown files which get written to the _texts directory. The md files in _texts should not be edited manually. They should only be created by the entry-to-md.xsl stylesheet. If you want to experiment with manually editing the md files, go ahead and fork the repository. This will create a copy under your account. After forking, go to the settings and select 'master' for Source in the GitHub pages section. Once you do this you should be able to see your fork rendered by Jekyll at https://[your_account_name].github.io/GR8975-edition/ |
If you do want to run the entry-to-md.xsl stylesheet on your xml files to generate new md files in _texts, do this after the files are generated:
|
@tcatapano I was trying to see how the minimal edition looked after I added more entries (all markdown-ed using the stylesheet; the only time I had to manually change something in a couple of .md files was when there was a merge conflict). Thanks for posting the above snippet. I copied _texts/ from GR8975/ to GR8975-edition/ and finally pushed to GR8975-edition/ in the github-repository. Only that in the last step, when I pushed, I got the following error message. Not sure how to interpret this: "remote: Permission to cu-mkp/GR8975-edition.git denied to Nikhil-Ramachandran. |
Perhaps I didn't initialize GR8975-edition/ in my local repository? I cloned, but did not initialize...? |
@Nikhil-Ramachandran: I hadnt granted the class write permissions to GR8975-edition. You should be able to push now. But please be careful that you are not overwriting other people's files. |
@tcatapano Terry, just to be sure that I don't overwrite, the only commands I will run to see modified instances of the minimal edition will be the above snippet of code that you posted. Please let me know if that would work. |
@Nikhil-Ramachandran if you've only changed your xml files and run the stylesheet on only those , then those will be the only updates you'll be pushing to the repo, so it should be fine. |
@tcatapano: yup, will only be changing my xml files. |
After pushing into GR8975 a set of new markdown entry files, how do I update the minimal edition site with these added entries? I tried cloning GR8975-edition, and then copying _texts/ folder from GR8975 into GR8975-edition, but could not do so.
The text was updated successfully, but these errors were encountered: