Skip to content

Commit 35b4d55

Browse files
committed
utilize underscore instead of dash for docs/examples/
1 parent 05519d5 commit 35b4d55

File tree

87 files changed

+29
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+29
-0
lines changed

docs/examples/html/tmp.py

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Create a list of all files in this file's directory that end with .py
2+
3+
import os
4+
import pathlib
5+
6+
# Get the current directory
7+
current_directory = pathlib.Path(__file__).parent
8+
9+
# Get all files in the current directory
10+
files = os.listdir(current_directory)
11+
12+
# Filter the files to only include .py files
13+
py_files = [file for file in files if file.endswith(".html")]
14+
15+
# Rename the files on disk
16+
for file in py_files:
17+
os.rename(current_directory / file, current_directory / file.replace("-", "_"))
File renamed without changes.
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
"""This module exists only to satisfy type checkers.
2+
3+
Do not use the files in this module as examples within the docs."""
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1+
"""This module exists only to satisfy type checkers.
2+
3+
Do not use the files in this module as examples within the docs."""
4+
5+
16
def child_component(): ...

docs/examples/python/example/views.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""This module exists only to satisfy type checkers.
2+
3+
Do not use the files in this module as examples within the docs."""
4+
15
from python.hello_world_cbv import HelloWorld
26
from python.hello_world_fbv import hello_world
37

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.

0 commit comments

Comments
 (0)