Skip to content

tgraham-antenna/MUK-proc

 
 

Repository files navigation

README for MUK Proceedings

This contains the code for the Markup UK Proceedings, including a couple of files that customise a modified v 1.79 of the DocBook XSLT 1.0 stylesheets.

Working on the 'muk2019' branch

Getting the code

  1. Fork the MarkupUK/MUK-proc repository on GitHub
  2. Clone your fork to your computer:
    git clone https://github.com/your-username/MUK-proc.git
    
  3. Change directory to the new clone:
    cd MUK-proc
    
  4. Checkout the muk2019 branch:
    git checkout muk2019
    
  5. Pull both the muk2019 branch and the MUK-xsl submodule that it uses:
    git pull --recurse-submodules origin muk2019
    
  6. Format the proceedings and/or make changes to the XML and XSLT

Formatting the proceedings

Automated formatting requires Apache Ant and AH Formatter.

  1. Check that the properties defined in properties.xml are correct for your installation.
  • If a property needs to be changed for everyone, edit properties.xml and then commit your changes
  • If a property, such as for the location of a file, needs to be changed only for your installation, copy properties.xml to properties.local.xml and edit that file so that it contains only your property overrides. The definitions in properties.local.xml (if it exists) have precedence over the properties in properties.xml because Ant reads properties.local.xml before properties.xml.
  1. Run Ant:
    ant -emacs
    
    If Ant skips stages because it isn't detecting changes in your files, force all stages to run:
    ant -emacs -Dforce=yes
    

Submitting changes to the muk2019 branch

When you have changes that are not in the xsl subdirectory:

  1. Make sure that your repository is up to date with MarkupUK/MUK-proc:
    1. View the muk2019 branch of your repository on GitHub in your browser (Reload the page if you got there by using the back button)
    2. If your branch is out of date, there will be an indication of how many commits your branch is behind
    3. Click on 'Fetch upstream' and then 'Fetch and merge' to merge upstream changes into your fork:
    4. Pull the upstream changes to your local repository:
      git pull origin muk2019
      
      You may need to use git stash and git stash pop before and after the git pull to save and restore your local changes to avoid conflicts from the merge
  2. Create a new branch for your changes:
    git checkout -b my-new-branch
    
  3. Make your changes (if they haven't been made already)
  4. Review your changes:
    git diff
    
  5. Commit your changes; for example:
    git add README.md
    git commit -m"Instructions for making changes."
    
  6. Push your commits to your repository on GitHub:
    git push -u origin my-new-branch
    
  7. On GitHub, make a pull request to merge your changes in my-new-branch into the muk2019 branch of MarkupUK/MUK-proc

Submitting changes in the xsl directory

That's a whole different kettle of fish...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • HTML 54.2%
  • Less 22.4%
  • CSS 19.4%
  • Shell 3.1%
  • XSLT 0.9%