Skip to content

Commit 0e35d44

Browse files
authored
Docs (#21)
* ignore ruff dir * typo * clean up * clean up
1 parent 7aae69a commit 0e35d44

File tree

5 files changed

+9
-28
lines changed

5 files changed

+9
-28
lines changed

.gitignore

+3-20
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ __pycache__/
33
*.py[cod]
44
*$py.class
55

6+
# ruff
7+
.ruff_cache
8+
69
# C extensions
710
*.so
811

@@ -69,19 +72,6 @@ coverage.xml
6972
*.mo
7073
*.pot
7174

72-
# Django stuff:
73-
*.log
74-
local_settings.py
75-
db.sqlite3
76-
db.sqlite3-journal
77-
78-
# Flask stuff:
79-
instance/
80-
.webassets-cache
81-
82-
# Scrapy stuff:
83-
.scrapy
84-
8575
# Sphinx documentation
8676
docs/_build/
8777

@@ -108,13 +98,6 @@ ipython_config.py
10898
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
10999
__pypackages__/
110100

111-
# Celery stuff
112-
celerybeat-schedule
113-
celerybeat.pid
114-
115-
# SageMath parsed files
116-
*.sage.py
117-
118101
# Environments
119102
.env
120103
.venv

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ clean:
7777
rm -rf __pycache__
7878
rm -rf venv
7979
rm -rf dist
80+
rm -rf site
8081
rm -rf htmlcov
8182

8283
.PHONY: install shell build publish clean example

docs/examples.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ p = sp.ZenithPlot(
5353
resolution=2000,
5454
)
5555
p.plot_object(
56-
SkyObject(
56+
sp.SkyObject(
5757
name="Mel 111",
5858
ra=12.36,
5959
dec=25.85,
@@ -88,7 +88,7 @@ style = sp.styles.MAP_BLUE.extend(
8888
style.star.label.font_size = 11
8989

9090
p = sp.MapPlot(
91-
projection=Projection.MERCATOR,
91+
projection=sp.Projection.MERCATOR,
9292
ra_min=3.6,
9393
ra_max=7.8,
9494
dec_min=-16,
@@ -98,7 +98,7 @@ p = sp.MapPlot(
9898
resolution=4000,
9999
)
100100
p.plot_object(
101-
SkyObject(
101+
sp.SkyObject(
102102
name="M42",
103103
ra=5.58333,
104104
dec=-4.61,

docs/tutorial.md

Whitespace-only changes.

mkdocs.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ nav:
1717
theme:
1818
name: material
1919
palette:
20-
# Palette toggle for light mode
20+
# toggle for light mode
2121
- scheme: default
2222
primary: custom
2323
toggle:
2424
icon: material/brightness-7
2525
name: Switch to dark mode
2626

27-
# Palette toggle for dark mode
27+
# toggle for dark mode
2828
- scheme: slate
2929
primary: custom
3030
toggle:
@@ -34,7 +34,6 @@ theme:
3434
favicon: images/favicon.png
3535
features:
3636
- content.code.copy
37-
# - navigation.expand
3837
- toc.integrate
3938

4039
extra_css:
@@ -51,8 +50,6 @@ plugins:
5150
docstring_section_style: list
5251

5352
markdown_extensions:
54-
# - toc:
55-
# permalink: true
5653
- admonition
5754
- md_in_html
5855
- pymdownx.highlight:

0 commit comments

Comments
 (0)