mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 01:24:48 +08:00
DEV: plugin generator will now ask for github username (#6337)
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2018 <%= @options['author'] %>.
|
||||
Copyright (c) 2018 <%= @github_username %>.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
|
@ -5,7 +5,7 @@
|
||||
## Installation
|
||||
|
||||
Follow [Install a Plugin](https://meta.discourse.org/t/install-a-plugin/19157)
|
||||
how-to from the official Discourse Meta, using `git clone https://github.com/<%= @options['author'] %>/<%= dasherized_name %>.git`
|
||||
how-to from the official Discourse Meta, using `git clone https://github.com/<%= @github_username %>/<%= dasherized_name %>.git`
|
||||
as the plugin command.
|
||||
|
||||
## Usage
|
||||
|
@ -1,8 +1,8 @@
|
||||
# name: <%= name %>
|
||||
# about: AWESOME_PLUGIN
|
||||
# about:
|
||||
# version: 0.1
|
||||
# authors: <%= @options['author'] %>
|
||||
# url: https://github.com/<%= @options['author'] %>
|
||||
# authors: <%= @github_username %>
|
||||
# url: https://github.com/<%= @github_username %>
|
||||
|
||||
<% if @options["stylesheet"] %>
|
||||
register_asset "stylesheets/common/<%= dasherized_name %>.scss"
|
||||
|
Reference in New Issue
Block a user