Skip to content

Commit

Permalink
Remove MkDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
JrooTJunior committed May 12, 2021
1 parent 7dd80d2 commit e1cd726
Show file tree
Hide file tree
Showing 442 changed files with 4 additions and 9,429 deletions.
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2

sphinx:
configuration: docs2/conf.py
configuration: docs/conf.py

formats: all

Expand Down
23 changes: 3 additions & 20 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ help:
@echo " build: Run tests build package and docs"
@echo ""



# =================================================================================================
# Environment
# =================================================================================================
Expand All @@ -63,7 +61,6 @@ clean:
rm -f .coverage.*
rm -rf {build,dist,site,.cache,.mypy_cache,reports}


# =================================================================================================
# Code quality
# =================================================================================================
Expand Down Expand Up @@ -109,7 +106,6 @@ test-coverage:
mkdir -p $(reports_dir)/tests/
$(py) pytest --cov=aiogram --cov-config .coveragerc --html=$(reports_dir)/tests/index.html tests/


.PHONY: test-coverage-report
test-coverage-report:
$(py) coverage html -d $(reports_dir)/coverage
Expand All @@ -123,34 +119,21 @@ test-coverage-view:
# Docs
# =================================================================================================

.PHONY: docs
docs:
$(py) mkdocs build

.PHONY: docs-serve
docs-serve:
$(py) mkdocs serve

.PHONY: docs2-serve
docs2-serve:
rm -rf docs2/_build
$(py) sphinx-autobuild --watch aiogram/ docs2/ docs2/_build/

.PHONY: docs-copy-reports
docs-copy-reports:
mv $(reports_dir)/* site/reports
rm -rf docs/_build
$(py) sphinx-autobuild --watch aiogram/ docs/ docs/_build/

# =================================================================================================
# Project
# =================================================================================================

.PHONY: build
build: clean flake8-report mypy-report test-coverage docs docs-copy-reports
build: clean flake8-report mypy-report test-coverage
mkdir -p site/simple
poetry build
mv dist site/simple/aiogram


.PHONY: bump
bump:
poetry version $(args)
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion docs/_api_version.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/_package_version.md

This file was deleted.

File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
79 changes: 0 additions & 79 deletions docs/api/client/session/aiohttp.md

This file was deleted.

106 changes: 0 additions & 106 deletions docs/api/download_file.md

This file was deleted.

File renamed without changes.
59 changes: 0 additions & 59 deletions docs/api/index.md

This file was deleted.

File renamed without changes.
64 changes: 0 additions & 64 deletions docs/api/methods/add_sticker_to_set.md

This file was deleted.

File renamed without changes.

0 comments on commit e1cd726

Please sign in to comment.