Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #20 from oAGoulart/change-pycfg
Browse files Browse the repository at this point in the history
Change python dist and minor fixes
  • Loading branch information
oAGoulart committed Oct 28, 2021
2 parents ed66799 + eca1993 commit 7792a83
Show file tree
Hide file tree
Showing 33 changed files with 312 additions and 343 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ __pycache__/
*.lock
*-lock.*
dist
/*.egg-info/
/src/*.egg-info/
.fontello-session
6 changes: 2 additions & 4 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
include .txt
include LICENSE
include README.md
recursive-include sphinx_bulma *.*
recursive-exclude sphinx_bulma .*.swp
include CHANGELOG.md
recursive-include src/sphinx-bulma *.*
9 changes: 0 additions & 9 deletions dev-requirements.txt

This file was deleted.

4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

html_logo = 'static/logo.png'
html_favicon = 'static/favicon.ico'
html_theme = 'sphinx_bulma'
html_theme = 'sphinx-bulma'
html_theme_options = {
'display_git': True,
'git_host': 'github.com',
Expand All @@ -34,4 +34,4 @@
'git_desc': 'Edit on GitHub'
}

html_theme_path = [".."]
html_theme_path = ["../src"]
1 change: 0 additions & 1 deletion docs/requirements.txt

This file was deleted.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sphinx_bulma",
"version": "0.1.0",
"name": "sphinx-bulma",
"version": "0.0.10",
"description": "A Sphinx theme using Bulma",
"author": {
"name": "Augusto Goulart",
Expand All @@ -22,8 +22,8 @@
"scripts": {
"docs-build": "sphinx-build docs docs/_build",
"css": "npm-run-all css-compile* --sequential css-minify*",
"css-compile": "sass scss/theme.scss sphinx_bulma/static/css/theme.css",
"css-minify": "cleancss -o sphinx_bulma/static/css/theme.min.css sphinx_bulma/static/css/theme.css",
"css-compile": "sass scss/theme.scss src/sphinx-bulma/static/css/theme.css",
"css-minify": "cleancss -o src/sphinx-bulma/static/css/theme.min.css --input-source-map src/sphinx-bulma/static/css/theme.css.map src/sphinx-bulma/static/css/theme.css",
"fontello-install": "fontello-cli install --config scss/fontello/config.json --css scss/fontello/css --font scss/fontello/font",
"fontello-web": "fontello-cli open --config scss/fontello/config.json",
"watch-css": "nodemon --ignore dist/ -e scss -x \"npm run css\""
Expand Down
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[build-system]
requires = [
"sphinx>=4.2",
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"
38 changes: 31 additions & 7 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,9 +1,33 @@
[bdist_wheel]
universal = 1

[metadata]
license_file = LICENSE
name = sphinx-bulma
version = attr: sphinx-bulma.VERSION
author = Augusto Goulart
author_email = josegoulart.aluno@unipampa.edu.br
description = A Sphinx theme using Bulma
long_description = file: README.md
long_description_content_type = text/markdown
keywords = html, sphinx, theme
url = https://github.com/oAGoulart/sphinx-bulma
project_urls =
Bug Tracker = https://github.com/oAGoulart/sphinx-bulma/issues
Source = https://github.com/oAGoulart/sphinx-bulma
classifiers =
Development Status :: 2 - Pre-Alpha
Intended Audience :: Developers
Framework :: Sphinx :: Theme
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3

[options]
include_package_data = True
package_dir =
= src
packages = find:
python_requires = >=3.10

[options.entry_points]
sphinx.html_themes =
sphinx-bulma = sphinx_bulma

[flake8]
ignore = E124,E125,E128,E261,E301,E302,E303
max-line-length = 79
[options.packages.find]
where = src
45 changes: 0 additions & 45 deletions setup.py

This file was deleted.

22 changes: 0 additions & 22 deletions sphinx_bulma/__init__.py

This file was deleted.

3 changes: 0 additions & 3 deletions sphinx_bulma/_version.py

This file was deleted.

212 changes: 0 additions & 212 deletions sphinx_bulma/layout.html

This file was deleted.

1 change: 0 additions & 1 deletion sphinx_bulma/static/css/theme.css.map

This file was deleted.

1 change: 0 additions & 1 deletion sphinx_bulma/static/css/theme.min.css.map

This file was deleted.

1 change: 1 addition & 0 deletions src/sphinx-bulma/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VERSION = '0.0.10'

0 comments on commit 7792a83

Please sign in to comment.