Skip to content

Commit bd9d97c

Browse files
committed
moved source files to src folder
1 parent 862c9c2 commit bd9d97c

38 files changed

Lines changed: 821 additions & 370 deletions

assignments/README.md

Lines changed: 0 additions & 28 deletions
This file was deleted.

demo-assignments/A0-OOP/hello/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ PYTHON = python3
55
UMLEXT = plantuml
66
UMLDIR = ./uml
77
UMLFILES = $(wildcard $(UMLDIR)/*.$(UMLEXT))
8-
8+
SRC_FILES = $(wildcard src/*.py)
99

1010
.PHONY: all
1111
all: check-style fix-style check-types run-test run-test-coverage create-docs create-uml clean
@@ -50,7 +50,7 @@ create-doc-folder:
5050
.PHONY: create-docs
5151
create-docs: create-doc-folder
5252
# provide each module name; current path . not working!
53-
pdoc --output-dir $(DOCS)/code-docs hello.py main.py # creates html docs
53+
pdoc --output-dir $(DOCS)/code-docs $(SRC_FILES) # creates html docs
5454
@echo "html docs created and saved in $(DOCS)/code-docs"
5555

5656
.PHONY: create-uml

demo-assignments/A0-OOP/hello/docs/code-docs/hello.html

Lines changed: 179 additions & 152 deletions
Large diffs are not rendered by default.

demo-assignments/A0-OOP/hello/docs/code-docs/helloworld.html

Lines changed: 420 additions & 0 deletions
Large diffs are not rendered by default.

demo-assignments/A0-OOP/hello/docs/code-docs/index.html

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

demo-assignments/A0-OOP/hello/docs/code-docs/search.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.
File renamed without changes.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import os
2+
import sys
3+
4+
# Add the parent directory to the system path to
5+
# allow imports from the src directory
6+
sys.path.insert(0, os.path.abspath(
7+
os.path.join(os.path.dirname(__file__), '..', 'src')))
442 Bytes
Loading

0 commit comments

Comments
 (0)