Skip to content

Commit

Permalink
Merge pull request #894 from ajmas/issue-893-contribution-info
Browse files Browse the repository at this point in the history
Fixes #893 Added 'contribute' menu item
  • Loading branch information
FranklinYu authored Jan 1, 2018
2 parents 2a1b7ff + 64b9ce7 commit cebdfbc
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 2 deletions.
4 changes: 4 additions & 0 deletions MacDown.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
1FFEB3271972DAB400B2254F /* MPHTMLTabularizeTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1FFEB3261972DAB400B2254F /* MPHTMLTabularizeTests.m */; };
1FFEB32B19737D6E00B2254F /* YAMLSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = 1FFEB32A19737D6E00B2254F /* YAMLSerialization.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc -Wno-unused-variable"; }; };
1FFF301D1948A5320009AF24 /* MPStringLookupTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1FFF301C1948A5320009AF24 /* MPStringLookupTests.m */; };
3028039E1FD84EAC0055B0DA /* contribute.md in Resources */ = {isa = PBXBuildFile; fileRef = 3028039D1FD84EAB0055B0DA /* contribute.md */; };
770BB49E962A302D0715A6A5 /* libPods-MacDown.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 42F926DD38559C7CEDB6E42F /* libPods-MacDown.a */; };
852D523C1E260A6400BA7162 /* MPTerminalPreferencesViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 852D523A1E260A6400BA7162 /* MPTerminalPreferencesViewController.m */; };
85E24E5C1E5019C00056E696 /* MPToolbarController.m in Sources */ = {isa = PBXBuildFile; fileRef = 85E24E5B1E5019C00056E696 /* MPToolbarController.m */; };
Expand Down Expand Up @@ -437,6 +438,7 @@
1FFEB32A19737D6E00B2254F /* YAMLSerialization.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YAMLSerialization.m; sourceTree = "<group>"; };
1FFF301C1948A5320009AF24 /* MPStringLookupTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPStringLookupTests.m; sourceTree = "<group>"; };
263367245B2D78A42C2F19D7 /* libPods-macdown-cmd.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-macdown-cmd.a"; sourceTree = BUILT_PRODUCTS_DIR; };
3028039D1FD84EAB0055B0DA /* contribute.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; name = contribute.md; path = Resources/contribute.md; sourceTree = "<group>"; };
39EFCAE04F60154F0C8C5469 /* Pods-MacDown.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MacDown.release.xcconfig"; path = "Pods/Target Support Files/Pods-MacDown/Pods-MacDown.release.xcconfig"; sourceTree = "<group>"; };
3C949FDE45493AE77DAD9BF4 /* libPods-MacDownTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-MacDownTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
3D175F0F1974282400A5EFE8 /* WebView+WebViewPrivateHeaders.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "WebView+WebViewPrivateHeaders.h"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -588,6 +590,7 @@
1F4C8E9B194AE0C3004BF82E /* Resources */ = {
isa = PBXGroup;
children = (
3028039D1FD84EAB0055B0DA /* contribute.md */,
1FCE066319633D6B00DC83B4 /* Data */,
1F9A14EE194EEEDD00D1C6A9 /* Styles */,
1F9A14F3194EF6A600D1C6A9 /* Themes */,
Expand Down Expand Up @@ -978,6 +981,7 @@
1FCE066419633D6C00DC83B4 /* Data in Resources */,
1F3FC8AA1C85AE9F000965E1 /* MacDown.sdef in Resources */,
1FB3C0241E5061A2002AEB6A /* MPExportPanelAccessoryViewController.xib in Resources */,
3028039E1FD84EAC0055B0DA /* contribute.md in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
6 changes: 6 additions & 0 deletions MacDown/Code/Application/MPMainController.m
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,11 @@ - (IBAction)showHelp:(id)sender
MPOpenBundledFile(@"help", @"md");
}

- (IBAction)showContributing:(id)sender
{
MPOpenBundledFile(@"contribute", @"md");
}


#pragma mark - Override

Expand Down Expand Up @@ -287,6 +292,7 @@ - (void)openPendingPipedContent {
- (void)showFirstLaunchTips
{
[self showHelp:nil];
[self showContributing:nil];
}


Expand Down
10 changes: 8 additions & 2 deletions MacDown/Localization/Base.lproj/MainMenu.xib
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11542" systemVersion="16C67" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="13529" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11542"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="13529"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="NSApplication">
Expand Down Expand Up @@ -611,6 +611,12 @@ DQ
<action selector="showHelp:" target="eq0-c4-vgQ" id="8IP-1m-7eG"/>
</connections>
</menuItem>
<menuItem title="Contributing to MacDown" id="K3J-v5-s91">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="showContributing:" target="eq0-c4-vgQ" id="kry-sc-poi"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
Expand Down
32 changes: 32 additions & 0 deletions MacDown/Resources/contribute.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Contributing to MacDown

MacDown is open source and is a volunteer effort. This means that it depends on people to give some of their free time to improve it and make it even better.

If you are reading this, then you are probably curious or want to contribute in some way. Read on to see how you can do so.

## Getting the Source Code

MacDown is hosted on GitHub:

https://github.com/MacDownApp/macdown

Here you can get the source code, read through the issues and start contributing.

## But, I am not a Coder

Contribution is not limited to software developers, since there are other ways you can help. For example, contributing towards documentation, translation and support. Join the room on Gitter to see how you can help (see below).

If you want to help translate, then you can look at our project page on [Transifex](https://www.transifex.com/macdown/macdown/) and see whether to add a new languages or complete the work of an existing language.

## Joining the Conversation

If you are new the project, then a good place to start is Gitter:

https://gitter.im/MacDownApp/macdown

Join the room, introduce yourself and find out how you can help out.

## License

MacDown is released under the terms of MIT License. For more details take a look at the [README](https://github.com/MacDownApp/macdown/blob/master/README.md).

0 comments on commit cebdfbc

Please sign in to comment.