Skip to content

Commit

Permalink
make new submodule for webbuilding (#269)
Browse files Browse the repository at this point in the history
* make new submodule for webbuilding

* add depracation warnings
  • Loading branch information
avivajpeyi authored Aug 13, 2023
1 parent 3592284 commit 1142c85
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "tess_atlas_webbuilder"]
path = tess_atlas_webbuilder
url = [email protected]:avivajpeyi/tess_atlas_webbuilder.git
1 change: 1 addition & 0 deletions src/tess_atlas/cli/make_webpages_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def get_cli_args():

def main():
args = get_cli_args()

build_website(
builddir=args.webdir,
notebook_dir=args.notebooks,
Expand Down
5 changes: 5 additions & 0 deletions src/tess_atlas/webbuilder/webbuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@ def build_website(
(this will take some time -- requires copying all notebooks/data)
"""
# Deprecation warning
logger.warning(
"This function will be deprecated. Use tess_atlas_webbuilder instead."
)

p = WebBuilder(
notebook_src=notebook_dir,
builddir=builddir,
Expand Down
1 change: 1 addition & 0 deletions tess_atlas_webbuilder
Submodule tess_atlas_webbuilder added at 85f65d

0 comments on commit 1142c85

Please sign in to comment.