Skip to content

Commit 4d4b120

Browse files
Merge pull request #217 from scholarly-python-package/develop
Develop
2 parents 13b203a + db357e0 commit 4d4b120

19 files changed

+1136
-630
lines changed

README.md

Lines changed: 181 additions & 154 deletions
Large diffs are not rendered by default.

docs/AuthorParser.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
AuthorParser module
2+
-----------------------
3+
4+
.. automodule:: scholarly.author_parser
5+
:members:
6+
:undoc-members:
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Author module
1+
DataTypes module
22
-----------------------
33

4-
.. automodule:: scholarly.author
4+
.. automodule:: scholarly.data_types
55
:members:
66
:undoc-members:

docs/ProxyGenerator.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
ProxyGenerator module
3+
-----------------------
4+
5+
.. automodule:: scholarly._proxy_generator
6+
:members:
7+
:undoc-members:
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Publication module
1+
PublicationParser module
22
----------------------------
33

4-
.. automodule:: scholarly.publication
4+
.. automodule:: scholarly.publication_parser
55
:members:
66
:undoc-members:
77
:show-inheritance:

docs/conf.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#
1313
import os
1414
import sys
15+
import sphinx_rtd_theme
1516
sys.path.insert(0, os.path.abspath('..'))
1617

1718

@@ -22,7 +23,7 @@
2223
author = 'Steven A. Cholewiak, Panos Ipeirotis, Victor Silva'
2324

2425
# The full version, including alpha/beta/rc tags
25-
release = '0.3.1'
26+
release = '1.0b1'
2627
master_doc = 'index'
2728

2829
# -- General configuration ---------------------------------------------------
@@ -36,6 +37,7 @@
3637
'sphinx.ext.viewcode',
3738
'sphinx.ext.githubpages',
3839
'sphinx.ext.doctest',
40+
'sphinx_rtd_theme',
3941
#'sphinx.ext.napoleon'
4042
]
4143

@@ -65,7 +67,7 @@
6567
# Add any paths that contain custom static files (such as style sheets) here,
6668
# relative to this directory. They are copied after the builtin static files,
6769
# so a file named "default.css" will overwrite the builtin "default.css".
68-
html_static_path = ['_static']
70+
# html_static_path = ['_static']
6971

7072

7173
# -- Extension configuration -------------------------------------------------

docs/quickstart.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,15 @@ then retrieve the titles of the papers that cite his most popular
4949
print(author)
5050
5151
# Print the titles of the author's publications
52-
print([pub.bib['title'] for pub in author.publications])
52+
print([pub['bib']['title'] for pub in author['publications']])
53+
5354
5455
# Take a closer look at the first publication
55-
pub = author.publications[0].fill()
56+
pub = scholarly.fill(author['publications'][0])
5657
print(pub)
5758
5859
# Which papers cited that publication?
59-
print([citation.bib['title'] for citation in pub.get_citedby()])
60+
print([citation['bib']['title'] for citation in scholarly.citedby(pub)])
6061
6162
# What is the Bibtex of that publication?
62-
print(pub.bibtex)
63+
scholarly.bibtex(pub)

docs/scholarly.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@ scholarly Package
55
:maxdepth: 2
66

77
scholarly_user
8-
Author.rst
9-
Publication.rst
8+
AuthorParser.rst
9+
PublicationParser.rst
10+
ProxyGenerator.rst
11+
DataTypes.rst

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ stem
88
fake_useragent
99
selenium
1010
python-dotenv
11-
free-proxy
11+
free-proxy
12+
sphinx_rtd_theme

scholarly/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
from ._scholarly import _Scholarly
22
from ._proxy_generator import ProxyGenerator
3+
from .data_types import Author, Publication
34
scholarly = _Scholarly()

0 commit comments

Comments
 (0)