소스 검색

adding comments to make sections clearer in app

main
Simon Bowie 2 년 전
부모
커밋
cb34922f06
3개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. +3
    -3
      web/app/__init__.py
  2. +1
    -1
      web/app/main.py
  3. +1
    -1
      web/app/search.py

+ 3
- 3
web/app/__init__.py 파일 보기

@@ -19,15 +19,15 @@ def create_app():

moment.init_app(app)

# blueprint for main parts of app
# blueprint for main parts of app (contents and frontmatter)
from .main import main as main_blueprint
app.register_blueprint(main_blueprint)

# blueprint for search parts of app
# blueprint for search parts of app (Section 1: Searching the archive)
from .search import search as search_blueprint
app.register_blueprint(search_blueprint)

# blueprint for interventions parts of app
# blueprint for interventions parts of app (Section 2: Search Interventions)
from .interventions import interventions as interventions_blueprint
app.register_blueprint(interventions_blueprint)


+ 1
- 1
web/app/main.py 파일 보기

@@ -2,7 +2,7 @@
# @creation_date: 2022-09-07
# @license: The MIT License <https://opensource.org/licenses/MIT>
# @author: Simon Bowie <ad7588@coventry.ac.uk>
# @purpose: Main route for index and other pages in Section 1: Searching the archive
# @purpose: Main route for index and other miscellaneous pages
# @acknowledgements:
# https://www.digitalocean.com/community/tutorials/how-to-add-authentication-to-your-app-with-flask-login


+ 1
- 1
web/app/search.py 파일 보기

@@ -2,7 +2,7 @@
# @creation_date: 2022-09-07
# @license: The MIT License <https://opensource.org/licenses/MIT>
# @author: Simon Bowie <ad7588@coventry.ac.uk>
# @purpose: search route for search
# @purpose: search route for Section 1: Searching the archive
# @acknowledgements:
# https://www.digitalocean.com/community/tutorials/how-to-add-authentication-to-your-app-with-flask-login


Loading…
취소
저장