Skip to content

Commit

Permalink
Fixed rubocop warning
Browse files Browse the repository at this point in the history
76 files inspected, no offenses detected
  • Loading branch information
BradyRosino committed Dec 14, 2024
1 parent a48061e commit 4cb1775
Show file tree
Hide file tree
Showing 10 changed files with 109,327 additions and 25 deletions.
Binary file added .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ GEM
PLATFORMS
arm64-darwin-22
arm64-darwin-23
arm64-darwin-24
x86_64-linux

DEPENDENCIES
Expand Down
42 changes: 21 additions & 21 deletions config/119x158-rightie.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ compiler:
document:
layout:
dimensions:
width: 119mm
height: 158mm
width: 156mm
height: 209mm

margin:
top: 10mm
top: 2mm
bottom: 0mm
left: 0mm
right: 5mm
Expand All @@ -29,7 +29,7 @@ planner:
weekday_start: Monday

heading_size: 16pt
pattern: dotted
pattern: lined

objects:
mos_layout:
Expand Down Expand Up @@ -62,7 +62,7 @@ planner:

large_calendar:
with_week_numbers: true
week_number_placement: right
week_number_placement: left
weekday_names: short
heading_height: 6mm
week_row_height: 20mm
Expand All @@ -79,10 +79,11 @@ planner:
- annual:
enabled: true
parameters:
months_per_page: 6
months_per_row: 2
months_per_page: 12
months_per_row: 3
objects:
little_calendar:
inset: 1.1mm
take_full_width: false

- quarterly:
Expand All @@ -108,19 +109,18 @@ planner:
parameters:
left_column_width: 4.5cm

left_column_items: [ schedule ]
right_column_items: [ top_priorities, notes, personal_notes ]
left_column_items: [ schedule, little_calendar ]
right_column_items: [ top_priorities, notes ]

schedule_strftime: '%k'
schedule_from_hour: 8
schedule_to_hour: 20
schedule_from_hour: 7
schedule_to_hour: 21
schedule_trailing_30min: false

gap_width: 2mm
priorities_number: 5
priorities_number: 10

notes_height: 4cm
personal_notes_height: 100%
notes_height: 100%

- daily_notes:
enabled: true
Expand All @@ -131,21 +131,21 @@ planner:
left_column_width: 1fr
gap_width: 5mm

left_column_items: [ my_goals, my_best_thing ]
right_column_items: [ my_grateful ]
bottom_merged: [ my_daily_log ]
left_column_items: [ ]
right_column_items: [ ]
bottom_merged: [ my_grateful, my_daily_log, my_goals ]

my_goals:
height: 2.5cm
height: 6cm

my_best_thing:
height: 2cm
height: 5cm

my_grateful:
height: 5.5cm
height: 3cm

my_daily_log:
height: 100%
height: 6cm

- todo_index:
enabled: true
Expand Down
Binary file added lib/.DS_Store
Binary file not shown.
Binary file added lib/latex_yearly_planner/.DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions lib/latex_yearly_planner/planners/mos/pages/face.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ def initialize(section_config:, i18n: I18n)
def to_typst
<<~TYPST
pad(
top: 7mm,
left: #{mosnav[:left_pad]},
right: #{mosnav[:right_pad]},
rotate(
Expand Down
1 change: 1 addition & 0 deletions lib/latex_yearly_planner/xtypst/little_calendar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def highlighted_week_number_in_this_month
def month_name
name = i18n.t("calendar.month.#{month.name.downcase}")
return name unless parameters[:link_to_month]

"link(<#{month.id}>, [#{name}])"
end

Expand Down
8 changes: 4 additions & 4 deletions locales/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@ en:
top_priorities: Top priorities
daily_notes: Notes
more_daily_notes: More
personal_notes: Personal
personal_notes: Goals

daily_reflect:
name: Reflect

goals: Goals
grateful: Things I'm grateful for
goals: Something I can do better tomorrow
grateful: Something I'm grateful for
best_thing: Best thing that happened today
log: Daily log
log: Something I did well today

todo:
index: Todo index
Expand Down
Loading

0 comments on commit 4cb1775

Please sign in to comment.