lander


Namelander JSON
Version 1.0.7 PyPI version JSON
download
home_pagehttps://github.com/lsst-sqre/lander
SummaryHTML landing page generator for LSST PDF documentation deployed from Git to LSST the Docs.
upload_time2023-07-05 17:02:59
maintainer
docs_urlNone
authorAssociation of Universities for Research in Astronomy, Inc. (AURA)
requires_python>=3.8
license
keywords lsst
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ######
Lander
######

.. image:: https://img.shields.io/pypi/v/lander.svg
   :target: https://pypi.python.org/pypi/lander
   :alt: Python Package Index
.. image:: https://img.shields.io/travis/lsst-sqre/lander.svg
   :target: https://travis-ci.org/lsst-sqre/lander
   :alt: Travis CI build status

**HTML landing page generator for LSST PDF documentation deployed from Git to LSST the Docs.**

Installation
============

Lander works with Python 3.5 or above.
You can install it from PyPI::

  pip install lander

Run ``lander -h`` for command line help.

Usage
=====

Basic usage
-----------

To create a landing page website, run ``lander`` with the local PDF file's path::

  lander --pdf <path>

The built PDF landing page site is available, by default, from the ``_build`` directory.
View the site in a browser by running a Python web server::

   cd _build && python -m http.server 8000 --bind 127.0.0.1

Get metadata from an lsstdoc document
-------------------------------------

With the ``--lsstdoc <tex path>`` argument, Lander will attempt to scrape metadata from the source of a ``lsstdoc``-class LaTeX file, including:

- abstract
- authors
- document handle
- title

See https://lsst-texmf.lsst.io for information about the ``lsstdoc`` class.

Get metadata from the Travis environment
----------------------------------------

If you're running on Travis CI, set the ``--env=travis`` to get metadata from Travis's environment variables:

- ``$TRAVIS_COMMIT``
- ``$TRAVIS_BRANCH``
- ``$TRAVIS_TAG``
- ``$TRAVIS_REPO_SLUG``
- ``$TRAVIS_JOB_NUMBER``

Overriding metadata
-------------------

Lander tries to get as much metadata from the environment as possible (including from the Git repository and the LaTeX document itself), but sometimes this isn't possible.
In this case you can explicitly set metadata with these flags (see ``lander -h`` for more information):

- ``--abstract``
- ``--authors`` (see note)
- ``--title``
- ``--handle`` (such as ``LDM-151``)
- ``--repo-url`` (such as ``https://github.com/lsst/ldm-151``)
- ``--repo-branch`` (such as ``master``)
- ``--date`` (such as ``2017-05-22``)
- ``--docushare-url`` (prefer the multi-version form, ``https://ls.st/ldm-151*``)

``--authors`` should be a JSON-formatted array, even for a single author.
For example::

  --authors "[\"First Author\", \"Second Author\"]"

Distributing extra files from the landing page
----------------------------------------------

To include ancillary files with the main PDF document, provide their file paths with the ``--extra-download`` argument.
These extra files are listed in the **Downloads** section of the landing page.
The main PDF is always included first in this list.

For example::

   --extra-download demo.ipynb

Uploading to LSST the Docs
--------------------------

Lander works well with LSST the Docs.
Lander can upload pages directly to LSST the Docs for you with these configurations:

- ``--upload`` — provide this flag to indicate a build should be uploaded.
- ``--ltd-product`` — Name of the product on LSST the Docs.
- ``--keeper-url`` or ``$LTD_KEEPER_URL``.
- ``--keeper-user`` or ``$LTD_KEEPER_USER``.
- ``--keeper-password`` or ``$LTD_KEEPER_PASSWORD``.
- ``--aws-id`` or ``$LTD_AWS_ID``.
- ``--aws-secret`` or ``$LTD_AWS_SECRET``.

Note: these are advanced configurations and are typically added to a CI configuration automatically or by a Documentation Engineer.
Reach out to `#dm-docs <https://lsstc.slack.com/messages/C2B6DQBAL/>`_ on Slack for help.

Development workflow
====================

You need both Python 3.5+ and `node.js`_ to develop Lander.

Initial set up
--------------

Clone and install dependencies (use a Python virtual environment of your choice)::

   git clone https://github.com/lsst-sqre/lander
   cd lander
   npm install -g gulp-cli
   npm install
   gulp assets
   pip install -e ".[dev]"

Run Python tests and linting
----------------------------

We use pytest for unit testing and style checks::

   make pytest

You can also run end-to-end trials of landing page builds::

   make test

These integration tests clone real LSST documents, compiles them with Docker, and builds landing pages to simulate continuous delivery workflows in production.
Look for sites in ``_tests``.

Build a development site
------------------------

The default gulp_ workflow creates website assets and generates a test website::

   gulp

This gulp task runs a browsersync_ server and refreshes the page whenever CSS, JavaScript, or HTML assets change.

Only build assets
-----------------

If you want to only build CSS, icon, and JavaScript assets, run this task::

   gulp assets --env=deploy

This is how assets are built on CI for releases of Lander.

Developing CSS/Sass with squared
--------------------------------

Lander uses squared_ for visual design.
All Lander CSS should be committed to the squared_ repo so that LSST SQuaRE web projects share a common visual language.

To make it easier to write Sass in squared_ while developing landing pages in Lander, we recommend linking a clone of squared_ to Lander's ``node_modules``.
Assuming you're starting from the ``lander/`` root directory::

  git clone https://github.com/lsst-sqre/squared ../squared
  npm link ../squared

Some patterns:

- If you're working on a branch in squared_, then update squared's version in ``package.json`` to that branch.
  For example: ``"squared": "lsst-sqre/squared#tickets/DM-10503"``.
  This allows Travis to install the development version of squared_ when testing Lander.
  Remember to make a release of squared_ before releasing a new version of Lander, see below.

- ``scss/app.scss`` in the lander repo imports Sass partials from squared_ and other packages (including inuitcss_).

Release workflow
================

1. If squared_ was modified, create a squared_ release first.
2. Update ``package.json`` with the released version of squared_.
   Using tagged npm releases is preferred to GitHub branches to make builds of releases repeatable.
3. Create a signed tag: ``git tag -s 0.1.0 -m "v0.1.0"``. Use the `PEP 440`_ schema.
4. Push the tag: ``git push --tags``. This will automatically create a Lander release on PyPI.
5. Merge the development branch as necessary.

License
=======

This project is open sourced under the MIT license.
See `LICENSE <./LICENSE>`_ for details.

.. _squared: https://github.com/lsst-sqre/squared
.. _`PEP 440`: https://www.python.org/dev/peps/pep-0440/
.. _inuitcss: https://github.com/inuitcss/inuitcss
.. _browsersync: https://browsersync.io
.. _gulp: http://gulpjs.com
.. _node.js: https://nodejs.org/en/

##########
Change Log
##########

1.0.6 (2023-07-04)
==================

- Pin ``pydantic<2.0.0``.
- Drop support for Python 3.7.

1.0.1 (2021-05-11)
==================

- Pin click<8 since Click 8.0.0 currently triggers the ``--version`` mode, regardless of whether it was set on the command-line or not.

1.0.0 (2021-01-06)
==================

This is the first release of Lander!
The version 1 release line is based on the 0.1 releases, and this line will continue to be maintained for existing users of Lander.

A new version of Lander is under development, version 2.0, that will include a plugin interface for adding custom document parsers and website themes.

0.1.16 (2019-07-04)
===================

- Update Jinja to >=2.10.1 to address CVE-2019-10906.
- Update asset build pipeline to Gulp 4 and update all other npm dependencies at the same time.

0.1.15 (2019-04-02)
===================

- Update to ``lsst-projectmeta-kit`` to 0.3.5 for better author parsing.
- Update ``requests`` to 2.20.0 (security).

0.1.14 (2019-02-18)
===================

- Lander will now cleanly abort when building on Travis CI, but the secure environment variables are not available.
  This happens if the build is triggered by a fork.
- Switched to use ``$TRAVIS_BUILD_WEB_URL`` to get a URL to the build.
  This is better than computing the build URL during the travis-ci.org to travis-ci.com transition.
- Updated test dependencies to pytest 4.2.1.
- Switched to ``setuptools_scm`` for version string management.

0.1.13 (2018-11-26)
===================

- Update to lsst-projectmeta-kit 0.3.3 for improved detection of ``\input`` and ``\include`` commands in TeX source.

0.1.12 (2018-02-10)
===================

- Update to ``lsst-projectmeta-kit`` 0.3.1 for more reliable ``metadata.jsonld`` generation (works around pandoc issues converting some documents to plain text).
  There's a new integration test ``make dmtn070`` that demos this.
- Improve the testing strategy:
  - Run ``make pytest`` to run pytest with the correct arguments instead of using ``--add-opts`` in setup.cfg. This lets us run ``pytest`` directly with ad hoc arguments.
  - Run ``make test`` to run both pytest and the integration tests.

0.1.11 (2018-02-07)
===================

- Lander now creates and uploads a ``metadata.jsonld`` document alongside the landing page content (e.g., ``index.html``).
  This content can be ingested by other tools into the LSST Projectmeta database.
- Switch from metasrc to lsst-projectmeta-kit 0.3.0.
  It's the same package, but the new and rebranded lsst-projectmeta-kit includes the ability to generate JSON-LD from an ``LsstLatexDoc`` object.

0.1.10 (2017-12-11)
===================

- Change known domain for DocuShare from ``docushare.lsstcorp.org`` to ``docushare.lsst.org``.
  This ensures that ``ls.st`` short links can continue to be verified.
- Create default values for ``abstract_plain`` and ``title_plain``.
  This fixes cases where the abstract is not set in the underlying LaTeX document.

0.1.9 (2017-11-20)
==================

- Update metasrc to 0.2.2 to resolve issues with auto-downloading Pandoc in Travis CI (`DM-12569 <https://jira.lsstcorp.org/browse/DM-12569>`_).
- Update pytest to 3.2.5 and pytest-flake8 to 0.9.1 to fix incompatibilities in the floating indirect dependencies.

0.1.8 (2017-10-09)
==================

- Update metasrc to 0.2.1
- Use metasrc's ``LsstLatexDoc.revision_datetime`` to obtain the date of a document.
  This method uses a combination of parsing the ``\date`` LaTeX command, looking at content
  Git commits, and falling back to 'now' to get an appropriate timestamp.

0.1.7 (2017-09-28)
==================

- Update metasrc to 0.2.0.
  This provides Pandoc integration for improved HTML rendering of content extracted from LaTeX documents.
- Improve how loggers are configured (warning level for third-party loggers, and info/debug levels for first-party LSST SQuaRE code).

0.1.6 (2017-09-07)
==================

- Update metasrc to 0.1.4.
  This update provides improved LaTeX command metadata extraction.
  (`DM-11821 <https://jira.lsstcorp.org/browse/DM-11821>`_)
- Temporarily skip ls.st and DocuShare-related unit tests because ls.st links to DocuShare are broken due to the DocuShare upgrade.

0.1.5 (2017-07-12)
==================

- Pin to metasrc 0.1.3
- Via metasrc, Lander has improved LaTeX source processing, including handling of referenced source files (``\input`` and ``\include``) and macros (``\def`` and ``\newcommand``).
- Improved treatment of draft status.
  The heuristic is that a document is considered a draft if the branch is not ``master`` and ``lsstdraft`` is not present in a lsstdoc document's options.

0.1.4 (2017-07-06)
==================

- Fix logic for determining it Lander is running in a Travis PR environment.
- Log the Lander version at startup.

0.1.3 (2017-07-02)
==================

- Fixed Travis deployment issue. Used ``skip_cleanup: true`` to ``.travis.yml`` to prevent CSS and JS assets from bring cleaned up before creating a release.

0.1.2 (2017-06-27)
==================

- Detect if running from a Travis PR build (using the ``TRAVIS_PULL_REQUEST`` environment variable) and if so, abort the page build and upload.
  This is to prevent duplicate uploads from both branch and PR-based Travis jobs.
- Pin inuitcss to 6.0.0-beta4 because of the removal of rem functions in beta5.

0.1.1 (2017-06-17)
==================

- Update to ``metasrc>=0.1.1,<0.2``.
- Use ``remove_comments`` and ``remove_trailing_whitespace`` feature from metasrc.
  This improves the accuracy of metadata extraction from tex source.
  For example, comment characters won't appear in extract abstract content.

0.1.0 (2017-05-24)
==================

Initial version.

- Native PDF display via `PDFObject <https://pdfobject.com>`_.
- Multi-level metadata model for populating the landing page.
  Lander uses https://github.com/lsst-sqre/metasrc to extract content from the ``tex`` source (more work on this is needed).
  Otherwise, it gets data from environment variables (including Travis CI variables).
  Finally, metadata can be specified explicitly with command line arguments.
- Uses https://github.com/lsst-sqre/squared for CSS, icons, and logos.
  A Gulp and webpack workflow build these sources into deployable dependencies.
  Gulp and webpack are only needed by developers and CI; the deployable artifacts are included in PyPI releases.
- Release workflow is fully automated in Travis.
  Create a PEP 440 version tag, push it, and the release appears in PyPI.
- Includes an LSST the Docs upload client (via https://github.com/lsst-sqre/ltd-conveyor) built-in so that https://github.com/lsst-sqre/ltd-mason isn't required.
- Usage and development docs are currently in the README.

MIT License

Copyright (c) 2017 Association of Universities for Research in Astronomy, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/lsst-sqre/lander",
    "name": "lander",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "lsst",
    "author": "Association of Universities for Research in Astronomy, Inc. (AURA)",
    "author_email": "sqre-admin@lists.lsst.org",
    "download_url": "https://files.pythonhosted.org/packages/eb/34/07c3dd90e96e543893e7aec0a4640715d4f1dc7d09222905abaea522c2b1/lander-1.0.7.tar.gz",
    "platform": null,
    "description": "######\nLander\n######\n\n.. image:: https://img.shields.io/pypi/v/lander.svg\n   :target: https://pypi.python.org/pypi/lander\n   :alt: Python Package Index\n.. image:: https://img.shields.io/travis/lsst-sqre/lander.svg\n   :target: https://travis-ci.org/lsst-sqre/lander\n   :alt: Travis CI build status\n\n**HTML landing page generator for LSST PDF documentation deployed from Git to LSST the Docs.**\n\nInstallation\n============\n\nLander works with Python 3.5 or above.\nYou can install it from PyPI::\n\n  pip install lander\n\nRun ``lander -h`` for command line help.\n\nUsage\n=====\n\nBasic usage\n-----------\n\nTo create a landing page website, run ``lander`` with the local PDF file's path::\n\n  lander --pdf <path>\n\nThe built PDF landing page site is available, by default, from the ``_build`` directory.\nView the site in a browser by running a Python web server::\n\n   cd _build && python -m http.server 8000 --bind 127.0.0.1\n\nGet metadata from an lsstdoc document\n-------------------------------------\n\nWith the ``--lsstdoc <tex path>`` argument, Lander will attempt to scrape metadata from the source of a ``lsstdoc``-class LaTeX file, including:\n\n- abstract\n- authors\n- document handle\n- title\n\nSee https://lsst-texmf.lsst.io for information about the ``lsstdoc`` class.\n\nGet metadata from the Travis environment\n----------------------------------------\n\nIf you're running on Travis CI, set the ``--env=travis`` to get metadata from Travis's environment variables:\n\n- ``$TRAVIS_COMMIT``\n- ``$TRAVIS_BRANCH``\n- ``$TRAVIS_TAG``\n- ``$TRAVIS_REPO_SLUG``\n- ``$TRAVIS_JOB_NUMBER``\n\nOverriding metadata\n-------------------\n\nLander tries to get as much metadata from the environment as possible (including from the Git repository and the LaTeX document itself), but sometimes this isn't possible.\nIn this case you can explicitly set metadata with these flags (see ``lander -h`` for more information):\n\n- ``--abstract``\n- ``--authors`` (see note)\n- ``--title``\n- ``--handle`` (such as ``LDM-151``)\n- ``--repo-url`` (such as ``https://github.com/lsst/ldm-151``)\n- ``--repo-branch`` (such as ``master``)\n- ``--date`` (such as ``2017-05-22``)\n- ``--docushare-url`` (prefer the multi-version form, ``https://ls.st/ldm-151*``)\n\n``--authors`` should be a JSON-formatted array, even for a single author.\nFor example::\n\n  --authors \"[\\\"First Author\\\", \\\"Second Author\\\"]\"\n\nDistributing extra files from the landing page\n----------------------------------------------\n\nTo include ancillary files with the main PDF document, provide their file paths with the ``--extra-download`` argument.\nThese extra files are listed in the **Downloads** section of the landing page.\nThe main PDF is always included first in this list.\n\nFor example::\n\n   --extra-download demo.ipynb\n\nUploading to LSST the Docs\n--------------------------\n\nLander works well with LSST the Docs.\nLander can upload pages directly to LSST the Docs for you with these configurations:\n\n- ``--upload`` \u2014 provide this flag to indicate a build should be uploaded.\n- ``--ltd-product`` \u2014 Name of the product on LSST the Docs.\n- ``--keeper-url`` or ``$LTD_KEEPER_URL``.\n- ``--keeper-user`` or ``$LTD_KEEPER_USER``.\n- ``--keeper-password`` or ``$LTD_KEEPER_PASSWORD``.\n- ``--aws-id`` or ``$LTD_AWS_ID``.\n- ``--aws-secret`` or ``$LTD_AWS_SECRET``.\n\nNote: these are advanced configurations and are typically added to a CI configuration automatically or by a Documentation Engineer.\nReach out to `#dm-docs <https://lsstc.slack.com/messages/C2B6DQBAL/>`_ on Slack for help.\n\nDevelopment workflow\n====================\n\nYou need both Python 3.5+ and `node.js`_ to develop Lander.\n\nInitial set up\n--------------\n\nClone and install dependencies (use a Python virtual environment of your choice)::\n\n   git clone https://github.com/lsst-sqre/lander\n   cd lander\n   npm install -g gulp-cli\n   npm install\n   gulp assets\n   pip install -e \".[dev]\"\n\nRun Python tests and linting\n----------------------------\n\nWe use pytest for unit testing and style checks::\n\n   make pytest\n\nYou can also run end-to-end trials of landing page builds::\n\n   make test\n\nThese integration tests clone real LSST documents, compiles them with Docker, and builds landing pages to simulate continuous delivery workflows in production.\nLook for sites in ``_tests``.\n\nBuild a development site\n------------------------\n\nThe default gulp_ workflow creates website assets and generates a test website::\n\n   gulp\n\nThis gulp task runs a browsersync_ server and refreshes the page whenever CSS, JavaScript, or HTML assets change.\n\nOnly build assets\n-----------------\n\nIf you want to only build CSS, icon, and JavaScript assets, run this task::\n\n   gulp assets --env=deploy\n\nThis is how assets are built on CI for releases of Lander.\n\nDeveloping CSS/Sass with squared\n--------------------------------\n\nLander uses squared_ for visual design.\nAll Lander CSS should be committed to the squared_ repo so that LSST SQuaRE web projects share a common visual language.\n\nTo make it easier to write Sass in squared_ while developing landing pages in Lander, we recommend linking a clone of squared_ to Lander's ``node_modules``.\nAssuming you're starting from the ``lander/`` root directory::\n\n  git clone https://github.com/lsst-sqre/squared ../squared\n  npm link ../squared\n\nSome patterns:\n\n- If you're working on a branch in squared_, then update squared's version in ``package.json`` to that branch.\n  For example: ``\"squared\": \"lsst-sqre/squared#tickets/DM-10503\"``.\n  This allows Travis to install the development version of squared_ when testing Lander.\n  Remember to make a release of squared_ before releasing a new version of Lander, see below.\n\n- ``scss/app.scss`` in the lander repo imports Sass partials from squared_ and other packages (including inuitcss_).\n\nRelease workflow\n================\n\n1. If squared_ was modified, create a squared_ release first.\n2. Update ``package.json`` with the released version of squared_.\n   Using tagged npm releases is preferred to GitHub branches to make builds of releases repeatable.\n3. Create a signed tag: ``git tag -s 0.1.0 -m \"v0.1.0\"``. Use the `PEP 440`_ schema.\n4. Push the tag: ``git push --tags``. This will automatically create a Lander release on PyPI.\n5. Merge the development branch as necessary.\n\nLicense\n=======\n\nThis project is open sourced under the MIT license.\nSee `LICENSE <./LICENSE>`_ for details.\n\n.. _squared: https://github.com/lsst-sqre/squared\n.. _`PEP 440`: https://www.python.org/dev/peps/pep-0440/\n.. _inuitcss: https://github.com/inuitcss/inuitcss\n.. _browsersync: https://browsersync.io\n.. _gulp: http://gulpjs.com\n.. _node.js: https://nodejs.org/en/\n\n##########\nChange Log\n##########\n\n1.0.6 (2023-07-04)\n==================\n\n- Pin ``pydantic<2.0.0``.\n- Drop support for Python 3.7.\n\n1.0.1 (2021-05-11)\n==================\n\n- Pin click<8 since Click 8.0.0 currently triggers the ``--version`` mode, regardless of whether it was set on the command-line or not.\n\n1.0.0 (2021-01-06)\n==================\n\nThis is the first release of Lander!\nThe version 1 release line is based on the 0.1 releases, and this line will continue to be maintained for existing users of Lander.\n\nA new version of Lander is under development, version 2.0, that will include a plugin interface for adding custom document parsers and website themes.\n\n0.1.16 (2019-07-04)\n===================\n\n- Update Jinja to >=2.10.1 to address CVE-2019-10906.\n- Update asset build pipeline to Gulp 4 and update all other npm dependencies at the same time.\n\n0.1.15 (2019-04-02)\n===================\n\n- Update to ``lsst-projectmeta-kit`` to 0.3.5 for better author parsing.\n- Update ``requests`` to 2.20.0 (security).\n\n0.1.14 (2019-02-18)\n===================\n\n- Lander will now cleanly abort when building on Travis CI, but the secure environment variables are not available.\n  This happens if the build is triggered by a fork.\n- Switched to use ``$TRAVIS_BUILD_WEB_URL`` to get a URL to the build.\n  This is better than computing the build URL during the travis-ci.org to travis-ci.com transition.\n- Updated test dependencies to pytest 4.2.1.\n- Switched to ``setuptools_scm`` for version string management.\n\n0.1.13 (2018-11-26)\n===================\n\n- Update to lsst-projectmeta-kit 0.3.3 for improved detection of ``\\input`` and ``\\include`` commands in TeX source.\n\n0.1.12 (2018-02-10)\n===================\n\n- Update to ``lsst-projectmeta-kit`` 0.3.1 for more reliable ``metadata.jsonld`` generation (works around pandoc issues converting some documents to plain text).\n  There's a new integration test ``make dmtn070`` that demos this.\n- Improve the testing strategy:\n  - Run ``make pytest`` to run pytest with the correct arguments instead of using ``--add-opts`` in setup.cfg. This lets us run ``pytest`` directly with ad hoc arguments.\n  - Run ``make test`` to run both pytest and the integration tests.\n\n0.1.11 (2018-02-07)\n===================\n\n- Lander now creates and uploads a ``metadata.jsonld`` document alongside the landing page content (e.g., ``index.html``).\n  This content can be ingested by other tools into the LSST Projectmeta database.\n- Switch from metasrc to lsst-projectmeta-kit 0.3.0.\n  It's the same package, but the new and rebranded lsst-projectmeta-kit includes the ability to generate JSON-LD from an ``LsstLatexDoc`` object.\n\n0.1.10 (2017-12-11)\n===================\n\n- Change known domain for DocuShare from ``docushare.lsstcorp.org`` to ``docushare.lsst.org``.\n  This ensures that ``ls.st`` short links can continue to be verified.\n- Create default values for ``abstract_plain`` and ``title_plain``.\n  This fixes cases where the abstract is not set in the underlying LaTeX document.\n\n0.1.9 (2017-11-20)\n==================\n\n- Update metasrc to 0.2.2 to resolve issues with auto-downloading Pandoc in Travis CI (`DM-12569 <https://jira.lsstcorp.org/browse/DM-12569>`_).\n- Update pytest to 3.2.5 and pytest-flake8 to 0.9.1 to fix incompatibilities in the floating indirect dependencies.\n\n0.1.8 (2017-10-09)\n==================\n\n- Update metasrc to 0.2.1\n- Use metasrc's ``LsstLatexDoc.revision_datetime`` to obtain the date of a document.\n  This method uses a combination of parsing the ``\\date`` LaTeX command, looking at content\n  Git commits, and falling back to 'now' to get an appropriate timestamp.\n\n0.1.7 (2017-09-28)\n==================\n\n- Update metasrc to 0.2.0.\n  This provides Pandoc integration for improved HTML rendering of content extracted from LaTeX documents.\n- Improve how loggers are configured (warning level for third-party loggers, and info/debug levels for first-party LSST SQuaRE code).\n\n0.1.6 (2017-09-07)\n==================\n\n- Update metasrc to 0.1.4.\n  This update provides improved LaTeX command metadata extraction.\n  (`DM-11821 <https://jira.lsstcorp.org/browse/DM-11821>`_)\n- Temporarily skip ls.st and DocuShare-related unit tests because ls.st links to DocuShare are broken due to the DocuShare upgrade.\n\n0.1.5 (2017-07-12)\n==================\n\n- Pin to metasrc 0.1.3\n- Via metasrc, Lander has improved LaTeX source processing, including handling of referenced source files (``\\input`` and ``\\include``) and macros (``\\def`` and ``\\newcommand``).\n- Improved treatment of draft status.\n  The heuristic is that a document is considered a draft if the branch is not ``master`` and ``lsstdraft`` is not present in a lsstdoc document's options.\n\n0.1.4 (2017-07-06)\n==================\n\n- Fix logic for determining it Lander is running in a Travis PR environment.\n- Log the Lander version at startup.\n\n0.1.3 (2017-07-02)\n==================\n\n- Fixed Travis deployment issue. Used ``skip_cleanup: true`` to ``.travis.yml`` to prevent CSS and JS assets from bring cleaned up before creating a release.\n\n0.1.2 (2017-06-27)\n==================\n\n- Detect if running from a Travis PR build (using the ``TRAVIS_PULL_REQUEST`` environment variable) and if so, abort the page build and upload.\n  This is to prevent duplicate uploads from both branch and PR-based Travis jobs.\n- Pin inuitcss to 6.0.0-beta4 because of the removal of rem functions in beta5.\n\n0.1.1 (2017-06-17)\n==================\n\n- Update to ``metasrc>=0.1.1,<0.2``.\n- Use ``remove_comments`` and ``remove_trailing_whitespace`` feature from metasrc.\n  This improves the accuracy of metadata extraction from tex source.\n  For example, comment characters won't appear in extract abstract content.\n\n0.1.0 (2017-05-24)\n==================\n\nInitial version.\n\n- Native PDF display via `PDFObject <https://pdfobject.com>`_.\n- Multi-level metadata model for populating the landing page.\n  Lander uses https://github.com/lsst-sqre/metasrc to extract content from the ``tex`` source (more work on this is needed).\n  Otherwise, it gets data from environment variables (including Travis CI variables).\n  Finally, metadata can be specified explicitly with command line arguments.\n- Uses https://github.com/lsst-sqre/squared for CSS, icons, and logos.\n  A Gulp and webpack workflow build these sources into deployable dependencies.\n  Gulp and webpack are only needed by developers and CI; the deployable artifacts are included in PyPI releases.\n- Release workflow is fully automated in Travis.\n  Create a PEP 440 version tag, push it, and the release appears in PyPI.\n- Includes an LSST the Docs upload client (via https://github.com/lsst-sqre/ltd-conveyor) built-in so that https://github.com/lsst-sqre/ltd-mason isn't required.\n- Usage and development docs are currently in the README.\n\nMIT License\n\nCopyright (c) 2017 Association of Universities for Research in Astronomy, Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "HTML landing page generator for LSST PDF documentation deployed from Git to LSST the Docs.",
    "version": "1.0.7",
    "project_urls": {
        "Change log": "https://github.com/lsst-sqre/lander/blob/master/CHANGELOG.rst",
        "Homepage": "https://github.com/lsst-sqre/lander",
        "Issue tracker": "https://github.com/lsst-sqre/lander/issues",
        "Source code": "https://github.com/lsst-sqre/lander"
    },
    "split_keywords": [
        "lsst"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7cc0136b0d512cf4aca107b07c5af9d9719975f077feb44f176c56282bc86ef5",
                "md5": "b1ae6fe79fb79803b4959366582e321c",
                "sha256": "7b595badb63d0fa28da9c37b2001789ef612737efb57cc39a115fb07ce442185"
            },
            "downloads": -1,
            "filename": "lander-1.0.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b1ae6fe79fb79803b4959366582e321c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 79984,
            "upload_time": "2023-07-05T17:02:57",
            "upload_time_iso_8601": "2023-07-05T17:02:57.234812Z",
            "url": "https://files.pythonhosted.org/packages/7c/c0/136b0d512cf4aca107b07c5af9d9719975f077feb44f176c56282bc86ef5/lander-1.0.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "eb3407c3dd90e96e543893e7aec0a4640715d4f1dc7d09222905abaea522c2b1",
                "md5": "79794ac36288fc8ab19eda7fb5a6f64d",
                "sha256": "770e52cda5244a518acdd470e1485428643be3b6f92dd09a15ef39b363e0679b"
            },
            "downloads": -1,
            "filename": "lander-1.0.7.tar.gz",
            "has_sig": false,
            "md5_digest": "79794ac36288fc8ab19eda7fb5a6f64d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 77061,
            "upload_time": "2023-07-05T17:02:59",
            "upload_time_iso_8601": "2023-07-05T17:02:59.173865Z",
            "url": "https://files.pythonhosted.org/packages/eb/34/07c3dd90e96e543893e7aec0a4640715d4f1dc7d09222905abaea522c2b1/lander-1.0.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-05 17:02:59",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "lsst-sqre",
    "github_project": "lander",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "lander"
}
        
Elapsed time: 0.08513s