Skip to content

Commit 78a6381

Browse files
committed
feat: add markmap partial
feat: add markmap shortcode feat: add markmap friendly markmap content fix: skip yourmax processing if no items defined
1 parent 6888c7d commit 78a6381

5 files changed

Lines changed: 97 additions & 1 deletion

File tree

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Scaling InnerSource
2+
3+
## Governance of InnerSource Programs
4+
- Unlock policy constraints
5+
- SDMOs for InnerSource projects
6+
- Accelerated contributions
7+
- Systems
8+
- Roadmap
9+
- Open source principles to fund open source variants of InnerSource
10+
- Technology budget available to support InnerSource
11+
- Repeatable SLAs
12+
- Software/system upgrades
13+
14+
## [Metrics](https://innersourcecommons.gitbook.io/managing-innersource-projects/measuring)
15+
- Monitoring scale
16+
- Usage
17+
- SLAs
18+
- Readiness
19+
- Contributions
20+
- Accelerated time to market
21+
- Dev time saved
22+
- Developer satisfaction/happiness
23+
- Learning & development / People strategy
24+
25+
## Research
26+
- Career/involvement boost
27+
- Home trap contributions
28+
- Showcase success stories
29+
- Leader/team gamification
30+
- Money
31+
- Better team/company efficiency
32+
- Physical/digital artifacts
33+
34+
## Project Governance
35+
- Open source readiness
36+
- Treasurers to manage project success
37+
- Integration of related resources into agile, developer curricula
38+
- Project discovery/governance
39+
- Project maturity
40+
- Stakeholder comms (Education on how to InnerSource)
41+
- Reduce arbitrary uniqueness
42+
- Project alignment
43+
- Project value (product association)
44+
45+
## Value
46+
- Gaining knowledge
47+
- Reducing time to market / cost of development
48+
- Improve developer/employee experience
49+
- Enhance communications
50+
- Learning & development / People strategy
51+
- Accelerate
52+
- Reduce duplication
53+
54+
## Awareness & Education
55+
- Engage internal project community
56+
- Showcase projects
57+
- Engage internal experts
58+
- Leadership as what a InnerSource project is
59+
- Projects for Internal Enterprise search
60+
- Advisory board for InnerSource
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: "Scaling InnerSource"
3+
subtitle: "How can I scale InnerSource?"
4+
type: "community"
5+
image: "images/learn/patterns.png"
6+
weight: 1
7+
---
8+
9+
{{< markmap path="markmap_content.md" >}}

layouts/partials/markmap.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{{ if not (.Page.Scratch.Get "markmap") }}
2+
<!-- Include markmap only first time -->
3+
<script src="https://cdn.jsdelivr.net/npm/markmap-autoloader@0.16"></script>
4+
{{ .Page.Scratch.Set "markmap" true }}
5+
{{ end }}

layouts/shortcodes/markmap.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{{ partial "markmap.html" . }}
2+
3+
{{ $relativePath := .Get "path" }}
4+
{{ $currentDir := .Page.File.Dir }}
5+
{{ $filePath := printf "%s/%s" $currentDir $relativePath }}
6+
{{ $fileContent := readFile $filePath }}
7+
8+
<style>
9+
.markmap > svg {
10+
width: 100%;
11+
height: 1000px;
12+
}
13+
</style>
14+
15+
<div class="markmap">
16+
<script type="text/template">
17+
{{ $fileContent }}
18+
</script>
19+
</div>

static/plugins/youmax/youmax.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,10 @@ var youmax_global_options = {};
176176
showInfo = function(response) {
177177
// console.log('showInfo');
178178
// console.log(response);
179-
179+
if (!response.items) {
180+
return;
181+
}
182+
180183
var channelData = response.items[0];
181184
var channelId = channelData.id;
182185
var channelName = channelData.snippet.title;

0 commit comments

Comments
 (0)