|
1 |
| -# Pulsar Neightborhood web site |
2 |
| -Welcome to the home for the [Pulsar Neighborhood site](https://pulsar-neighborhood.com). |
| 1 | +# Pulsar Neighborhood web site |
| 2 | +Welcome to the home for the [Pulsar Neighborhood site](https://pulsar-neighborhood.com). This is the source behind the magic. As an open community we welcome all ideas and contributions, whether it is a new feature on the site or content you would like to see. |
3 | 3 |
|
4 | 4 | ## About the site's framework
|
5 | 5 |
|
6 |
| -## Contributing articles, guides, ideas and everything else |
| 6 | +Pulsar Neighborhood was created on the [Hugo framework](https://gohugo.io/). It uses bootstrap components to create the wondrous experience that is. There is a mix of core Hugo functions, good ideas from seasoned Hugo experts, as well as the odd idea found out in the wild. We try to follow the best practices of Hugo when it comes to the site's folder structure and naming. If you are familiar with the framework, then this site is [hopefully] very easy to get started with. |
7 | 7 |
|
8 |
| -Got a idea of a topic others might be interested in? Want to share your learnings about Pulsar with the commnity? |
| 8 | +If you see something about the site's design that could be a little better please [make a suggestion](https://github.com/pulsar-neighborhood/pulsar-neighborhood.github.io/issues) or PR that great idea right in to the project. |
9 | 9 |
|
10 |
| -Head over to the issues tab and open the appropriate type. This will provide a simple template you can follow to make sure everything is in line. |
| 10 | +It was chosen to keep the original content type of `page` and create 3 new layouts: article, guide, and spotlight. Articles are the most common and represent a blog post, video, or some other written story about Pulsar. Guides are step by step instructions on how to achieve some goal using Pulsar. Spotlight is a special type used for the community spotlight section of the site. |
11 | 11 |
|
12 |
| -Once submitted a site contributor will be in contact with next steps. |
| 12 | +## "I love the spotlight" - said no software engineer, ever |
13 | 13 |
|
| 14 | + Don't sweat this. It's less about you and more about what you've done with Pulsar. If you've got something to share but don't feel like writing it all out let's put it in the spotlight. [Open a spotlight issue](https://github.com/pulsar-neighborhood/pulsar-neighborhood.github.io/issues/new?assignees=&labels=&template=community-member-spotlight.md&title=Check%20my%20Pulsar%20skillz) and give us a sentence or two about the cool things you've done. Share a link if it's something public. |
14 | 15 |
|
15 |
| -## Contributing content |
16 | 16 |
|
17 |
| -The site has two different type of content - articles and guides. Articles can be thought of as a blog post but could have code snippets. Generally |
| 17 | +## Contributing ideas and content |
18 | 18 |
|
19 |
| -If you have ideas of content you would like to see on the site, |
| 19 | +It can be a simple idea, a written article, or a half though-out step by step guide. However far along the content is, the community is here to help make it a pulitzer candidate. Your options... |
20 | 20 |
|
21 |
| -## Content formatting examples |
| 21 | +### Opening an issue (simplest) |
22 | 22 |
|
23 |
| -### Tabs |
24 |
| -{{< tabs tabTotal="4">}} |
25 |
| -{{< tab tabName="C#" >}} |
| 23 | +When you [open an issue](https://github.com/pulsar-neighborhood/pulsar-neighborhood.github.io/issues/new/choose) in the repo you are asked to choose from a template. Use this to choose the type of content the best fits your idea. Paste your markdown within the "content" area of the new issue or simply type out a few lines of idea. There are a few additional areas of interest like title, author info, image, etc. All of this is optional. A content moderator will guide you through getting everything right. |
26 | 24 |
|
27 |
| -```csharp |
28 |
| -public void DoSomehting(){ |
29 |
| - return; |
30 |
| -} |
31 |
| -``` |
32 | 25 |
|
33 |
| -{{< /tab >}} |
34 |
| -{{< tab tabName="Java" >}} |
| 26 | +### Running the site locally |
| 27 | + |
| 28 | +If you're feeling adventurous (and have a basic understanding of Hugo) you could fork the repo and develop your idea locally. Then open a pull request to suggest the idea in the main site. Below are commands you can use to get content started: |
35 | 29 |
|
36 |
| -```java |
37 |
| -public void DoSomehting(){ |
38 |
| - return; |
39 |
| -} |
| 30 | +Create a new article: |
| 31 | +```bash |
| 32 | +hugo new articles/my-really-great-idea.md |
40 | 33 | ```
|
41 | 34 |
|
42 |
| -{{< /tab >}} |
43 |
| -{{< tab tabName="Go">}} |
| 35 | +Create a new guide: |
| 36 | +```bash |
| 37 | +hugo new guides/my-step-by-step-guide.md |
| 38 | +``` |
| 39 | +## Content formatting examples |
| 40 | + |
| 41 | +As you write content for the community use the below markdown examples to take things to the next level. Spoiler - no one likes a wall of text and everyone loves reading code. |
| 42 | + |
| 43 | +[Guide steps](content/examples/guide.md) - use this to get a step by step guide started |
| 44 | + |
| 45 | +[Tabs](content/examples/tabs.md) - share your code in multiple runtimes |
| 46 | + |
| 47 | +[Code Snippets](content/examples/code-snippet.md) - include snippets throughout your content, maybe even highlight a line and comment on it |
| 48 | + |
| 49 | +[Blockquotes](content/examples/blockquote.md) - make a statement |
| 50 | + |
| 51 | +[Information Callout](content/examples/info-callout.md) - include a call out box with further info about a topic |
44 | 52 |
|
45 |
| -**Go Content** |
| 53 | +[Warning Callout](content/examples/warn-callout.md) - include a call out box with fair warning about something |
46 | 54 |
|
47 |
| -{{< /tab >}} |
48 |
| -{{< tab tabName="Python">}} |
| 55 | +[Danger Callout](content/examples/danger-callout.md) - include a call out box that warns of dragons or ill-tempered creatures ahead |
49 | 56 |
|
50 |
| -**Python Content** |
| 57 | +[Success Callout](content/examples/success-callout.md) - include a call out box declaring a win |
51 | 58 |
|
52 |
| -{{< /tab >}} |
53 |
| -{{< /tabs >}} |
| 59 | +[Table](content/examples/table.md) - markdown tables aren't the best, use this to go a little further |
0 commit comments