Skip to content

Commit 1886142

Browse files
committed
Fix people directive plugin and clean up configuration
1 parent a9459a8 commit 1886142

File tree

5 files changed

+38
-9
lines changed

5 files changed

+38
-9
lines changed

files/people/sroy/simon.jpg

210 KB
Loading

people/sroy/index.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Simon Roy
2+
3+
I received my Bachelor's degree with honors in Software Engineering from École de technologie supérieure (ÉTS) in Montreal, Canada in December 2024. I am currently pursuing a Master's degree in computer engineering at Polytechnique Montréal and MILA under the supervision of Professor Giovanni Beltrame. I'm interested in autonomous robotics and space exploration.
4+
5+
## Current Projects
6+
7+
**LLM-Driven Mission Planning** :
8+
Exploring how large language models can translate high-level objectives into structured, adaptive task sequences for autonomous robots under real-world constraints.
9+
10+
**Precision Landing for Aerial Robotics** :
11+
Developing vision-based, markerless algorithms that enable drones to identify, track, and land on arbitrary targets with sub-meter accuracy.
12+
13+
**Latent-Space World Modeling** :
14+
Training compact, learned representations of environmental dynamics to predict future states and guide real-time planning and decision-making.
15+
16+
## Contact Information
17+
18+
- Contact me by email: **simon-7 {dot} roy {at} polymtl {dot} ca**
19+
- Find me on [LinkedIn](https://www.linkedin.com/in/simonroy99/) or [GitHub](https://github.com/SimonR99).

people/sroy/person.ini

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[Person]
2+
Name=Simon Roy
3+
Occupation=Master Student
4+
Tagline=Ad Astra per Scientiam
5+
Image=/people/sroy/simon.jpg
6+
Facebook=https://www.facebook.com/simon.roy.376
7+
Linkedin=https://www.linkedin.com/in/simonroy99/

plugins/people/people.plugin

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Name = rest_people
33
Module = people
44

5+
[Nikola]
6+
compiler = rest
7+
PluginCategory = CompilerExtension
8+
9+
510
[Documentation]
611
Author = Giovanni Beltrame
712
Version = 0.1

plugins/people/people.py

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,18 @@
3434

3535
from nikola.plugin_categories import RestExtension
3636

37-
from configparser import *
37+
from configparser import ConfigParser
38+
3839

3940
class Plugin(RestExtension):
4041

4142
name = "rest_people"
4243

4344
def set_site(self, site):
44-
self.site = site
45+
global _site
46+
_site = self.site = site
4547
directives.register_directive('people', People)
46-
People.site = site
47-
return super(Plugin, self).set_site(site)
48+
return super().set_site(site)
4849

4950
class People(Directive):
5051
""" Restructured text extension for inserting a table of people."""
@@ -54,7 +55,7 @@ def run(self):
5455
if len(self.content) == 0:
5556
return
5657

57-
if self.site.invariant: # for testing purposes
58+
if _site.invariant: # for testing purposes
5859
table_id = 'people_' + 'fixedvaluethatisnotauuid'
5960
else:
6061
table_id = 'people_' + uuid.uuid4().hex
@@ -94,7 +95,7 @@ def run(self):
9495
people.append(person)
9596

9697

97-
output = self.site.template_system.render_template(
98+
output = _site.template_system.render_template(
9899
'people.tmpl',
99100
None,
100101
{
@@ -104,6 +105,3 @@ def run(self):
104105
}
105106
)
106107
return [nodes.raw('', output, format='html')]
107-
108-
109-
directives.register_directive('people', People)

0 commit comments

Comments
 (0)