Skip to content

Commit

Permalink
subtitle added to presentations
Browse files Browse the repository at this point in the history
  • Loading branch information
sbillinge committed Oct 24, 2024
1 parent be6e93d commit e1feda3
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 22 deletions.
23 changes: 23 additions & 0 deletions news/defaults.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
**Added:**

* <news item>

**Changed:**

* defaults for adding presentations is no-cal and no-repo. These will be created if selected as --cal and --repo on the command line

**Deprecated:**

* <news item>

**Removed:**

* <news item>

**Fixed:**

* <news item>

**Security:**

* <news item>
23 changes: 23 additions & 0 deletions news/subtitle.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
**Added:**

* subtitle added to schemas and exemplars

**Changed:**

* <news item>

**Deprecated:**

* <news item>

**Removed:**

* <news item>

**Fixed:**

* <news item>

**Security:**

* <news item>
10 changes: 4 additions & 6 deletions src/regolith/helpers/a_presentationhelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ def subparser(subpi):
default="invited",
)
subpi.add_argument("-w", "--webinar", help="Is the presentation a webinar?", action="store_true")
subpi.add_argument("--cal", help="Add the presentation to google calendar", action="store_true")
subpi.add_argument("--repo", help="Create a GitHub/Lab repo for the presentation", action="store_true")
subpi.add_argument(
"--no-expense",
help="Do not add a template expense item to the "
Expand Down Expand Up @@ -119,10 +121,6 @@ def subparser(subpi):
"--id",
help="Override the default id created from the date, " "speaker and place by specifying an id here",
)
subpi.add_argument("--no-cal", help="Do not add the presentation to google calendar", action="store_true")
subpi.add_argument(
"--no-repo", help="Do not create a GitHub/Lab repo for the presentation", action="store_true"
)
return subpi


Expand Down Expand Up @@ -192,7 +190,7 @@ def construct_global_ctx(self):
def db_updater(self):
rc = self.rc

if not rc.no_cal:
if rc.cal:
event = {
"summary": rc.name,
"location": rc.place,
Expand Down Expand Up @@ -289,7 +287,7 @@ def db_updater(self):
rc.client.insert_one(rc.expense_db, EXPENSES_COLL, edoc)
print(f"{key} has been added in {EXPENSES_COLL} in database {rc.expense_db}")

if not rc.no_repo:
if rc.repo:
if not hasattr(rc, "repos"):
rc.repos = []
if not hasattr(rc, "tokens"):
Expand Down
16 changes: 0 additions & 16 deletions src/regolith/helpers/a_projectumhelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,22 +231,6 @@ def db_updater(self):
def insert_checklists(self, pdoc, now):
"""Create manuscript checklist, one item as one milestone."""
presubmission_checklist = [
(
"Create slide figures",
"Create Inkscape graphics (Inkscape is preferrable over ppt) for the slides "
"and place in a ``figures`` directory in the slides directory. "
"These may then be used either in beamer or ppt. "
"Iterate with PI to convergence. (to get started with Inkscape download and install it, "
"then run the program and navigate to Help-->Tutorials. "
"The first two ('Basic' and 'Shapes') should probably be enough for someone "
"to get basic functionality.).",
),
(
"Create slides",
"Create a 'slides' folder in the paper repo or a Google slides deck for a series of talk slides. "
"Iterate the slide skeleton with PI to convergence. "
"(For a beamer template: https://gitlab.thebillingegroup.com/talks/beamerTalkTemplate).",
),
(
"Create a highlight slide",
"Create a 'highlight' folder in the paper repo. Create a single 'highlight' slide that describes "
Expand Down

0 comments on commit e1feda3

Please sign in to comment.