Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.pyc
venv/
dist/
site/
2 changes: 2 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

MkDocs is a smart, simple, website design tool.

![MkDocs](img/mkdocs.png)

## Installation

Install the `mkdocs` command line tool...
Expand Down
8 changes: 3 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "mkdocs"
description = "HTTP, for Python."
requires-python = ">=3.10"
authors = [
{ name = "Tom Christie", email = "tom@tomchristie.com" },
{ name = "Kim Christie", email = "noreply@lovelydinosaur.com" },
]
classifiers = [
"Development Status :: 4 - Beta",
Expand All @@ -22,13 +22,11 @@ classifiers = [
"Topic :: Internet :: WWW/HTTP",
]
dependencies = [
"httpx",
"flask",
"httpx>=1.0.dev5",
"click",
"jinja2",
"markdown",
"pymdown-extensions==10.16.1",
"markdown-gfm-admonition==0.1.1",
"pygments",
]
dynamic = ["version"]

Expand Down
17 changes: 14 additions & 3 deletions src/mkdocs/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
from .mkdocs import MkDocs
from .cli import cli, build, serve
from .__version__ import __title__, __version__
from .mkdocs import get_current_page, get_site_index, Page, Static, SiteIndex, MkDocs, cli

__all__ = [MkDocs, cli, build, serve]

__all__ = [
'__title__',
'__version__',
'get_current_page',
'get_site_index',
'Page',
'Static',
'SiteIndex',
'MkDocs',
'cli',
]
5 changes: 0 additions & 5 deletions src/mkdocs/__main__.py

This file was deleted.

2 changes: 1 addition & 1 deletion src/mkdocs/__version__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__title__ = "mkdocs"
__version__ = "2.0"
__version__ = "2.0.dev0"
117 changes: 0 additions & 117 deletions src/mkdocs/cli.py

This file was deleted.

17 changes: 17 additions & 0 deletions src/mkdocs/default/base.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>...</title>
{% with favicon='📘' %}{% include 'favicon.html' %}{% endwith %}
<style>
{% include 'style.css' %}
{% include 'highlight.css' %}
</style>
</head>
<body>
<main>
{{ html }}
</main>
</body>
</html>
1 change: 0 additions & 1 deletion src/mkdocs/default/css/highlightjs-copy.min.css

This file was deleted.

10 changes: 0 additions & 10 deletions src/mkdocs/default/css/highlightjs.min.css

This file was deleted.

Loading
Loading