Skip to content

Commit

Permalink
Configure lse-61.lsst.io landing pages
Browse files Browse the repository at this point in the history
- Update README with lsst-texmf document template
- Configure Lander tool to make and publish the landing page through
  Travis CI.

The title and handle are currrently being set in `.travis.yml` for
Lander's presentation. Once Lander can process LaTeX \input commands
this will not be necessary.
  • Loading branch information
jonathansick committed Jul 3, 2017
1 parent 5acb2d9 commit b2e81a8
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 21 deletions.
27 changes: 19 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
sudo: true
dist: trusty
services:
- docker
language: python
matrix:
include:
- python: "3.5"
python:
- '3.5'
before_install:
- "sudo apt-get update && sudo apt-get install -y --no-install-recommends texlive-full latexmk poppler-utils lmodern texlive-xetex"
install:
- git clone https://github.com/lsst/lsst-texmf.git
- "pip install 'lander>=0.1.0,<0.2'"
script:
- export TEXMFHOME=./lsst-texmf/texmf
- make
# Compile PDF using containerized lsst-texmf
- "docker run --rm -v `pwd`:/workspace -w /workspace lsstsqre/lsst-texmf:latest sh -c 'make'"
after_success:
# Deploy website. See https://github.com/lsst-sqre/lander for CLI options
- "lander --pdf LSE-61.pdf --upload --lsstdoc LSE-61.tex --env=travis --ltd-product $PRODUCT --handle $HANDLE --title \"$TITLE\""
env:
global:
- PRODUCT="lse-61"
# Temporarily needed until https://github.com/lsst-sqre/lander can process LaTeX \input
- HANDLE="LSE-61"
- TITLE="Data Management System Requirements"
# LSST the Docs credentials
- secure: "uudN49Lgk8E4j/wWXQYe2HoXC94xRzWOzbq1WL3LyPGaC66jnW2HLmo74tZ8OgM4C985YOcARTdoZ+r3VbX1fkor9L4po14i6K9T59yhfeF9ScJmIjLL4ONTTsie9ifvbeUea4OJir+PepP4/4XvSXfXqUsHlRZrzCK9xS28akgysTyVKfI1qe+x5soxkfq8Oh11poNX15reuFvryj4UctYHTdWq/pzV8renf3Z3vBWiBoca0S5qEzsxQBEtCs+J2Tyn/SF1OPxkrQWuOkMQKd6S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WGG/Mf3dHfd2SwcyY3Fvdv93qaAV8="
13 changes: 0 additions & 13 deletions README.md

This file was deleted.

32 changes: 32 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
.. image:: https://img.shields.io/badge/lse--61-lsst.io-brightgreen.svg
:target: https://lse-61.lsst.io
.. image:: https://travis-ci.org/lsst/LSE-61.svg
:target: https://travis-ci.org/lsst/LSE-61

###################################
Data Management System Requirements
###################################

LSE-61
------

Baselined versions of this document can be obtained from DocuShare at https://ls.st/LSE-61.

This repository hosts reports from the LSE-61 MagicDraw model in LaTeX format.

To generate a new version of the document from the model follow the instructions in the Latex section of the `MagicDraw-macros`_ repository (in ``docgen_templates/latex``).

Check that it builds before committing the generated LSE-61.
The document requires the `lsst-texmf`_ LaTeX classes are available.

The document title, author, date, document handle, and change record are defined in the file ``metadata.tex``.
This allows you to specify these outside of the generic MagicDraw template file.

**Links**

- Accepted version on DocuShare: https://ls.st/LSE-61
- Live drafts: https://lse-61.lsst.io/v
- GitHub: https://github.com/lsst/LSE-61

.. _MagicDraw-macros: https://github.com/lsst-se/MagicDraw-macros
.. _lsst-texmf: https://lsst-texmf.lsst.io

0 comments on commit b2e81a8

Please sign in to comment.