Skip to content

Commit 1ba137b

Browse files
committed
Convert SSI includes to tt includes in community/
This also fixes community/dirdata.yaml for better rendering of breadcrumbs Reviewed-by: Anton Arapov <[email protected]> Reviewed-by: Tomas Vavra <[email protected]> (Merged from openssl#430)
1 parent 7353da0 commit 1ba137b

File tree

7 files changed

+32
-25
lines changed

7 files changed

+32
-25
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@ blog
55
sitemap.txt
66
./*.html
77
community/committers.inc
8+
community/committers.md
89
community/omc-alumni.inc
10+
community/omc-alumni.md
911
community/otc.inc
12+
community/otc.md
1013
community/omc.inc
14+
community/omc.md
1115
community/*.html
1216
docs/OpenSSL300Design.html
1317
docs/OpenSSLStrategicArchitecture.html

Makefile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ FUTURESERIES=
6161
# they have their own special handling.
6262
H_TOP = $(addsuffix .html,$(basename $(shell git ls-files -- *.md)))
6363
H_COMMUNITY = $(addsuffix .html,\
64-
$(basename $(shell git ls-files -- community/*.md)))
64+
$(basename $(shell git ls-files -- community/*.md)) \
65+
$(basename $(basename $(shell git ls-files -- community/*.md.tt))))
6566
# We filter out any file starting with 'sub-'... they get special treatment
6667
H_DOCS = $(addsuffix .html,\
6768
$(basename $(shell git ls-files -- docs/*.md \
@@ -87,8 +88,6 @@ H_SUPPORT = $(addsuffix .html,$(basename $(shell git ls-files -- support/*.md)))
8788
SIMPLE = $(H_TOP) \
8889
newsflash.inc \
8990
$(H_COMMUNITY) \
90-
community/committers.inc community/otc.inc \
91-
community/omc.inc community/omc-alumni.inc \
9291
news/changelog.html \
9392
$(foreach S,$(SERIES),news/openssl-$(S)-notes.inc) \
9493
$(foreach S,$(SERIES),news/openssl-$(S)-notes.html) \
@@ -389,13 +388,16 @@ community/committers.inc: $(PERSONDB) bin/mk-committers Makefile
389388
wget -q https://api.openssl.org/0/Group/commit/Members
390389
./bin/mk-committers <Members >$@
391390
@rm -f Members
391+
community/committers.md: community/committers.inc
392392

393393
community/otc.inc: $(PERSONDB) bin/mk-omc Makefile
394394
./bin/mk-omc -n -p -t 'OTC Members' otc otc-inactive > $@
395395
community/omc.inc: $(PERSONDB) bin/mk-omc Makefile
396396
./bin/mk-omc -n -e -l -p -t 'OMC Members' omc omc-inactive > $@
397+
community/omc.md: community/omc.inc
397398
community/omc-alumni.inc: $(PERSONDB) bin/mk-omc Makefile
398399
./bin/mk-omc -n -l -t 'OMC Alumni' omc-alumni omc-emeritus > $@
400+
community/omc-alumni.md: community/omc-alumni.inc
399401

400402
news/changelog.inc: news/changelog.txt bin/post-process-html5 Makefile
401403
@rm -f $@
@@ -583,6 +585,9 @@ source/old/index.md: source/old/index.md.tt Makefile bin/from-tt Makefile
583585
@rm -f $@
584586
./bin/from-tt releases='$(SERIES) $(OLDSERIES2) fips' $<
585587

588+
# Extra inc -> markdown dependencies
589+
590+
586591
# Extra HTML dependencies (apart from the markdown file it comes from)
587592

588593
# makehtmldepend creates a standard dependency for HTML files rendered from
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ source tree, with appropriate code reviews.
1515
<td wdith="50%">Name</td>
1616
<td wdith="50%">GitHub ID</td>
1717
</tr>
18-
<!--#include virtual="committers.inc" -->
18+
[% INCLUDE "committers.inc" %]
1919
</table>
2020
</p>

community/dirdata.yaml

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
11
---
2-
breadcrumbs:
3-
- |
4-
[Home](/) : [Community](.)
5-
sidebar:
6-
- |
7-
# [Community](.)
2+
breadcrumbs: >-
3+
[Home](/) : [Community](.)
4+
sidebar: |
5+
# [Community](.)
86
9-
- [Our Mission and Values](mission.html)
10-
- [List of Committers](committers.html)
11-
- [OpenSSL Technical Committee](otc.html)
12-
- [OpenSSL Management Committee](omc.html)
13-
- [Code of Conduct](conduct.html)
14-
- [Contact Information](contacts.html)
15-
- [Getting Started as a Contributor](getting-started.html)
16-
- [Mailing Lists](mailinglists.html)
17-
- [Wiki](https://wiki.openssl.org)
18-
- [Blog](/blog)
19-
- [Binaries and Engines](binaries.html)
20-
- [Thanks!](thanks.html)
7+
- [Our Mission and Values](mission.html)
8+
- [List of Committers](committers.html)
9+
- [OpenSSL Technical Committee](otc.html)
10+
- [OpenSSL Management Committee](omc.html)
11+
- [Code of Conduct](conduct.html)
12+
- [Contact Information](contacts.html)
13+
- [Getting Started as a Contributor](getting-started.html)
14+
- [Mailing Lists](mailinglists.html)
15+
- [Wiki](https://wiki.openssl.org)
16+
- [Blog](/blog)
17+
- [Binaries and Engines](binaries.html)
18+
- [Thanks!](thanks.html)
2119
---
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ We gratefully acknowledge the contributions of the following alumni (who
77
were previously in the OMC, or a team member or founder prior to
88
creation of the OMC):
99

10-
<p><!--#include virtual="omc-alumni.inc" --></p>
10+
<p>[% INCLUDE "omc-alumni.inc" %]</p>
1111

1212
We also respectfully remember Ulf Möller who is no longer with us.

community/omc.md renamed to community/omc.md.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ are taken on the basis of a vote.
99

1010
The current OMC consists of (in alphabetical order):
1111

12-
<p><!--#include virtual="omc.inc" --></p>
12+
<p>[% INCLUDE "omc.inc" %]</p>
1313

1414
Names with an (I) are currently inactive as defined in our
1515
[bylaws](/policies/omc-bylaws.html).

community/otc.md.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ the basis of a vote.
99

1010
The current OTC consists of (in alphabetical order):
1111

12-
<p><!--#include virtual="otc.inc" --></p>
12+
<p>[% INCLUDE "otc.inc" %]</p>
1313

1414
Names with an (I) are currently inactive as defined in our
1515
[bylaws](/policies/omc-bylaws.html).

0 commit comments

Comments
 (0)