Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
homepage
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
orestis.malaspin
homepage
Commits
0dd5ba3a
Verified
Commit
0dd5ba3a
authored
3 years ago
by
orestis.malaspin
Browse files
Options
Downloads
Patches
Plain Diff
added algo
parent
c2ec49d6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#15642
failed
3 years ago
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitmodules
+3
-0
3 additions, 0 deletions
.gitmodules
hakyll-bootstrap/Main.hs
+21
-3
21 additions, 3 deletions
hakyll-bootstrap/Main.hs
hakyll-bootstrap/cours/algo
+1
-0
1 addition, 0 deletions
hakyll-bootstrap/cours/algo
with
25 additions
and
3 deletions
.gitmodules
+
3
−
0
View file @
0dd5ba3a
...
...
@@ -10,3 +10,6 @@
[submodule "hakyll-bootstrap/cours/prog_seq"]
path = hakyll-bootstrap/cours/prog_seq
url = https://gitedu.hesge.ch/programmation_sequentielle/cours.git
[submodule "hakyll-bootstrap/cours/algo"]
path = hakyll-bootstrap/cours/algo
url = https://gitedu.hesge.ch/algorithmique/cours.git
This diff is collapsed.
Click to expand it.
hakyll-bootstrap/Main.hs
+
21
−
3
View file @
0dd5ba3a
...
...
@@ -52,6 +52,7 @@ main = hakyllWith config $ do
.||.
"reveal.js/dist/**"
.||.
"reveal.js/plugin/**"
.||.
"cours/prog_seq/slides/figs/*"
.||.
"cours/algo/slides/figs/*"
.||.
"cours/math_tech_info/figs/*"
.||.
"cours/math_tech_info/cours.pdf"
.||.
"cours/isc_physics/cours.pdf"
...
...
@@ -107,20 +108,37 @@ main = hakyllWith config $ do
>>=
loadAndApplyTemplate
"templates/course.html"
(
courseCtx
posts
"Mathématiques en technologie de l'information"
"cours/math_tech_info/cours.pdf"
)
>>=
relativizeUrls
-- P
hys app post
s
-- P
rogrammation séquentielle slide
s
match
"cours/prog_seq/slides/*.markdown"
$
do
route
$
setExtension
"html"
compile
$
pandocRevealCompiler
>>=
loadAndApplyTemplate
"templates/reveal.html"
postCtx
>>=
relativizeUrls
-- P
hys app
post list
-- P
rog seq
post list
create
[
"cours/prog_seq.html"
]
$
do
route
idRoute
compile
$
do
posts
<-
recentFirst
=<<
loadAll
"cours/prog_seq/slides/*.markdown"
makeItem
""
>>=
loadAndApplyTemplate
"templates/archive.html"
(
courseCtx
posts
"Programmation séquentielle"
"cours/isc_physics/cours.pdf"
)
>>=
loadAndApplyTemplate
"templates/archive.html"
(
courseCtx
posts
"Programmation séquentielle"
)
>>=
relativizeUrls
-- Algorithmique slides
match
"cours/algo/slides/*.markdown"
$
do
route
$
setExtension
"html"
compile
$
pandocRevealCompiler
>>=
loadAndApplyTemplate
"templates/reveal.html"
postCtx
>>=
relativizeUrls
-- Prog seq post list
create
[
"cours/algo.html"
]
$
do
route
idRoute
compile
$
do
posts
<-
recentFirst
=<<
loadAll
"cours/algo/slides/*.markdown"
makeItem
""
>>=
loadAndApplyTemplate
"templates/archive.html"
(
courseCtx
posts
"Algorithmique et structure de données"
)
>>=
relativizeUrls
-- Team description
...
...
This diff is collapsed.
Click to expand it.
algo
@
bab8ccf0
Subproject commit bab8ccf0a8a90ddd9d41c25de3b15856c2671de3
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment