Skip to content

Commit

Permalink
Merge b79ffd2 into 35e6f78
Browse files Browse the repository at this point in the history
  • Loading branch information
roksys committed May 21, 2019
2 parents 35e6f78 + b79ffd2 commit bf3b045
Show file tree
Hide file tree
Showing 7 changed files with 145 additions and 135 deletions.
3 changes: 1 addition & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,4 @@ Features:
- Support for PDF, ZIP, CSV, MARKDOWN, XML, JSON, PNG, JPG and GIF out-of-the-box.
- Extensible API to create new previewers.

* Free software: MIT license
* Documentation: https://invenio-previewer.readthedocs.io/
Further documentation available: https://invenio-previewer.readthedocs.io/
9 changes: 7 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

# General information about the project.
project = u'Invenio-Previewer'
copyright = u'2016, CERN'
copyright = u'2016-2019, CERN'
author = u'CERN'

# The version info for the project you're documenting, acts as replacement for
Expand Down Expand Up @@ -312,7 +312,12 @@


# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'https://docs.python.org/': None}
intersphinx_mapping = {
'https://docs.python.org/': None,
'invenio_records_ui': (
'https://invenio-records-ui.readthedocs.io/en/latest/', None
)
}

# Autodoc configuraton.
autoclass_content = 'both'
3 changes: 1 addition & 2 deletions examples/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
.. code-block:: console
$ cd examples
$ ./app-setup.py
$ ./app-setup.sh
2. Our record with pid 1 contains several files. You can check out the
different types of files by changing the filename in the url
Expand Down Expand Up @@ -127,7 +127,6 @@ def fixtures():
for f in demo_files:
with open(os.path.join(demo_files_path, f), 'rb') as fp:
record.files[f] = fp

record.files.flush()
record.commit()
db.session.commit()

0 comments on commit bf3b045

Please sign in to comment.