Skip to content

Commit

Permalink
Update to use jupyterlab-citation-data
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Aug 19, 2021
1 parent c8a734f commit a975000
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip build twine jupyterlab
- name: Check manifest
run: check-manifest -v
- name: Build the federated extension in a separated build environment
run: |
python -m build
Expand Down
3 changes: 0 additions & 3 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ include install.json
include ts*.json
include yarn.lock

# Citations Style Language
graft csl-styles

graft jupyterlab_citation_manager/labextension
graft jupyterlab_citation_manager/tests
graft docs
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Citation Manager for JupyterLab:
- enables adding citations to Jupyter notebooks in Markdown cells,
- keeps the bibliography in sync with the citations in the document,
- supports thousands of citation styles,
- offers a way to effectively search through your collection of references,
- offers a way to efficiently search through your collection of references,
- integrates with the Zotero® service (Connector for Zotero) by default,
- is modular in design, allowing for integration of other reference managers in the future.

Expand Down Expand Up @@ -217,7 +217,9 @@ folder is located. Then you can remove the symlink named `jupyterlab-citation-ma

### Updating citation styles

The citation styles are retrieved from the CSL repository using git submodules.
The citation styles are retrieved from the CSL repository using git submodules
and reside in the [jupyterlab-citation-data](https://github.com/krassowski/jupyterlab-citation-data) repository.

You can update the submodule to fetch the most recent citation styles:

```bash
Expand Down
1 change: 0 additions & 1 deletion csl-styles
Submodule csl-styles deleted from 01ae1e
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jupyterlab-citation-manager",
"version": "0.1.2",
"version": "0.1.3",
"description": "Citation Manager for JupyterLab with Zotero integration",
"keywords": [
"jupyter",
Expand Down
12 changes: 6 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
data_files_spec = [
("share/jupyter/labextensions/%s" % labext_name, str(lab_path), "**"),
("share/jupyter/labextensions/%s" % labext_name, str(HERE), "install.json"),
("share/jupyter/csl-styles", str(HERE / "csl-styles"), "**"),
(
"etc/jupyter/jupyter_notebook_config.d",
"jupyter-config/jupyter_notebook_config.d",
Expand Down Expand Up @@ -55,7 +54,8 @@
long_description_content_type="text/markdown",
packages=setuptools.find_packages(),
install_requires=[
"jupyter_server>=1.6,<2"
"jupyter_server>=1.6,<2",
"jupyterlab_citation_data"
],
zip_safe=False,
include_package_data=True,
Expand All @@ -71,10 +71,10 @@
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Framework :: Jupyter",
"Framework :: Jupyter :: JupyterLab",
"Framework :: Jupyter :: JupyterLab :: 3",
"Framework :: Jupyter :: JupyterLab :: Extensions",
"Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt"
#"Framework :: Jupyter :: JupyterLab",
#"Framework :: Jupyter :: JupyterLab :: 3",
#"Framework :: Jupyter :: JupyterLab :: Extensions",
#"Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt"
],
)

Expand Down

0 comments on commit a975000

Please sign in to comment.