Skip to content

Commit 8dc8042

Browse files
authored
Merge pull request #234 from cnumr/cms
CMS
2 parents 81fedfa + 98356b5 commit 8dc8042

File tree

2 files changed

+331
-0
lines changed

2 files changed

+331
-0
lines changed

docs/licence.md

Lines changed: 315 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,315 @@
1+
---
2+
label: LICENSE
3+
icon: shield
4+
visibility: hidden
5+
order: -1000
6+
---
7+
8+
Creative Commons Legal Code
9+
10+
Attribution-NonCommercial-NoDerivs 3.0 Unported
11+
12+
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
13+
LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN
14+
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
15+
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
16+
REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR
17+
DAMAGES RESULTING FROM ITS USE.
18+
19+
License
20+
21+
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
22+
COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
23+
COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
24+
AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
25+
26+
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
27+
TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
28+
BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
29+
CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
30+
CONDITIONS.
31+
32+
1. Definitions
33+
34+
a. "Adaptation" means a work based upon the Work, or upon the Work and
35+
other pre-existing works, such as a translation, adaptation,
36+
derivative work, arrangement of music or other alterations of a
37+
literary or artistic work, or phonogram or performance and includes
38+
cinematographic adaptations or any other form in which the Work may be
39+
recast, transformed, or adapted including in any form recognizably
40+
derived from the original, except that a work that constitutes a
41+
Collection will not be considered an Adaptation for the purpose of
42+
this License. For the avoidance of doubt, where the Work is a musical
43+
work, performance or phonogram, the synchronization of the Work in
44+
timed-relation with a moving image ("synching") will be considered an
45+
Adaptation for the purpose of this License.
46+
b. "Collection" means a collection of literary or artistic works, such as
47+
encyclopedias and anthologies, or performances, phonograms or
48+
broadcasts, or other works or subject matter other than works listed
49+
in Section 1(f) below, which, by reason of the selection and
50+
arrangement of their contents, constitute intellectual creations, in
51+
which the Work is included in its entirety in unmodified form along
52+
with one or more other contributions, each constituting separate and
53+
independent works in themselves, which together are assembled into a
54+
collective whole. A work that constitutes a Collection will not be
55+
considered an Adaptation (as defined above) for the purposes of this
56+
License.
57+
c. "Distribute" means to make available to the public the original and
58+
copies of the Work through sale or other transfer of ownership.
59+
d. "Licensor" means the individual, individuals, entity or entities that
60+
offer(s) the Work under the terms of this License.
61+
e. "Original Author" means, in the case of a literary or artistic work,
62+
the individual, individuals, entity or entities who created the Work
63+
or if no individual or entity can be identified, the publisher; and in
64+
addition (i) in the case of a performance the actors, singers,
65+
musicians, dancers, and other persons who act, sing, deliver, declaim,
66+
play in, interpret or otherwise perform literary or artistic works or
67+
expressions of folklore; (ii) in the case of a phonogram the producer
68+
being the person or legal entity who first fixes the sounds of a
69+
performance or other sounds; and, (iii) in the case of broadcasts, the
70+
organization that transmits the broadcast.
71+
f. "Work" means the literary and/or artistic work offered under the terms
72+
of this License including without limitation any production in the
73+
literary, scientific and artistic domain, whatever may be the mode or
74+
form of its expression including digital form, such as a book,
75+
pamphlet and other writing; a lecture, address, sermon or other work
76+
of the same nature; a dramatic or dramatico-musical work; a
77+
choreographic work or entertainment in dumb show; a musical
78+
composition with or without words; a cinematographic work to which are
79+
assimilated works expressed by a process analogous to cinematography;
80+
a work of drawing, painting, architecture, sculpture, engraving or
81+
lithography; a photographic work to which are assimilated works
82+
expressed by a process analogous to photography; a work of applied
83+
art; an illustration, map, plan, sketch or three-dimensional work
84+
relative to geography, topography, architecture or science; a
85+
performance; a broadcast; a phonogram; a compilation of data to the
86+
extent it is protected as a copyrightable work; or a work performed by
87+
a variety or circus performer to the extent it is not otherwise
88+
considered a literary or artistic work.
89+
g. "You" means an individual or entity exercising rights under this
90+
License who has not previously violated the terms of this License with
91+
respect to the Work, or who has received express permission from the
92+
Licensor to exercise rights under this License despite a previous
93+
violation.
94+
h. "Publicly Perform" means to perform public recitations of the Work and
95+
to communicate to the public those public recitations, by any means or
96+
process, including by wire or wireless means or public digital
97+
performances; to make available to the public Works in such a way that
98+
members of the public may access these Works from a place and at a
99+
place individually chosen by them; to perform the Work to the public
100+
by any means or process and the communication to the public of the
101+
performances of the Work, including by public digital performance; to
102+
broadcast and rebroadcast the Work by any means including signs,
103+
sounds or images.
104+
i. "Reproduce" means to make copies of the Work by any means including
105+
without limitation by sound or visual recordings and the right of
106+
fixation and reproducing fixations of the Work, including storage of a
107+
protected performance or phonogram in digital form or other electronic
108+
medium.
109+
110+
2. Fair Dealing Rights. Nothing in this License is intended to reduce,
111+
limit, or restrict any uses free from copyright or rights arising from
112+
limitations or exceptions that are provided for in connection with the
113+
copyright protection under copyright law or other applicable laws.
114+
115+
3. License Grant. Subject to the terms and conditions of this License,
116+
Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
117+
perpetual (for the duration of the applicable copyright) license to
118+
exercise the rights in the Work as stated below:
119+
120+
a. to Reproduce the Work, to incorporate the Work into one or more
121+
Collections, and to Reproduce the Work as incorporated in the
122+
Collections; and,
123+
b. to Distribute and Publicly Perform the Work including as incorporated
124+
in Collections.
125+
126+
The above rights may be exercised in all media and formats whether now
127+
known or hereafter devised. The above rights include the right to make
128+
such modifications as are technically necessary to exercise the rights in
129+
other media and formats, but otherwise you have no rights to make
130+
Adaptations. Subject to 8(f), all rights not expressly granted by Licensor
131+
are hereby reserved, including but not limited to the rights set forth in
132+
Section 4(d).
133+
134+
4. Restrictions. The license granted in Section 3 above is expressly made
135+
subject to and limited by the following restrictions:
136+
137+
a. You may Distribute or Publicly Perform the Work only under the terms
138+
of this License. You must include a copy of, or the Uniform Resource
139+
Identifier (URI) for, this License with every copy of the Work You
140+
Distribute or Publicly Perform. You may not offer or impose any terms
141+
on the Work that restrict the terms of this License or the ability of
142+
the recipient of the Work to exercise the rights granted to that
143+
recipient under the terms of the License. You may not sublicense the
144+
Work. You must keep intact all notices that refer to this License and
145+
to the disclaimer of warranties with every copy of the Work You
146+
Distribute or Publicly Perform. When You Distribute or Publicly
147+
Perform the Work, You may not impose any effective technological
148+
measures on the Work that restrict the ability of a recipient of the
149+
Work from You to exercise the rights granted to that recipient under
150+
the terms of the License. This Section 4(a) applies to the Work as
151+
incorporated in a Collection, but this does not require the Collection
152+
apart from the Work itself to be made subject to the terms of this
153+
License. If You create a Collection, upon notice from any Licensor You
154+
must, to the extent practicable, remove from the Collection any credit
155+
as required by Section 4(c), as requested.
156+
b. You may not exercise any of the rights granted to You in Section 3
157+
above in any manner that is primarily intended for or directed toward
158+
commercial advantage or private monetary compensation. The exchange of
159+
the Work for other copyrighted works by means of digital file-sharing
160+
or otherwise shall not be considered to be intended for or directed
161+
toward commercial advantage or private monetary compensation, provided
162+
there is no payment of any monetary compensation in connection with
163+
the exchange of copyrighted works.
164+
c. If You Distribute, or Publicly Perform the Work or Collections, You
165+
must, unless a request has been made pursuant to Section 4(a), keep
166+
intact all copyright notices for the Work and provide, reasonable to
167+
the medium or means You are utilizing: (i) the name of the Original
168+
Author (or pseudonym, if applicable) if supplied, and/or if the
169+
Original Author and/or Licensor designate another party or parties
170+
(e.g., a sponsor institute, publishing entity, journal) for
171+
attribution ("Attribution Parties") in Licensor's copyright notice,
172+
terms of service or by other reasonable means, the name of such party
173+
or parties; (ii) the title of the Work if supplied; (iii) to the
174+
extent reasonably practicable, the URI, if any, that Licensor
175+
specifies to be associated with the Work, unless such URI does not
176+
refer to the copyright notice or licensing information for the Work.
177+
The credit required by this Section 4(c) may be implemented in any
178+
reasonable manner; provided, however, that in the case of a
179+
Collection, at a minimum such credit will appear, if a credit for all
180+
contributing authors of Collection appears, then as part of these
181+
credits and in a manner at least as prominent as the credits for the
182+
other contributing authors. For the avoidance of doubt, You may only
183+
use the credit required by this Section for the purpose of attribution
184+
in the manner set out above and, by exercising Your rights under this
185+
License, You may not implicitly or explicitly assert or imply any
186+
connection with, sponsorship or endorsement by the Original Author,
187+
Licensor and/or Attribution Parties, as appropriate, of You or Your
188+
use of the Work, without the separate, express prior written
189+
permission of the Original Author, Licensor and/or Attribution
190+
Parties.
191+
d. For the avoidance of doubt:
192+
193+
i. Non-waivable Compulsory License Schemes. In those jurisdictions in
194+
which the right to collect royalties through any statutory or
195+
compulsory licensing scheme cannot be waived, the Licensor
196+
reserves the exclusive right to collect such royalties for any
197+
exercise by You of the rights granted under this License;
198+
ii. Waivable Compulsory License Schemes. In those jurisdictions in
199+
which the right to collect royalties through any statutory or
200+
compulsory licensing scheme can be waived, the Licensor reserves
201+
the exclusive right to collect such royalties for any exercise by
202+
You of the rights granted under this License if Your exercise of
203+
such rights is for a purpose or use which is otherwise than
204+
noncommercial as permitted under Section 4(b) and otherwise waives
205+
the right to collect royalties through any statutory or compulsory
206+
licensing scheme; and,
207+
208+
iii. Voluntary License Schemes. The Licensor reserves the right to
209+
collect royalties, whether individually or, in the event that the
210+
Licensor is a member of a collecting society that administers
211+
voluntary licensing schemes, via that society, from any exercise
212+
by You of the rights granted under this License that is for a
213+
purpose or use which is otherwise than noncommercial as permitted
214+
under Section 4(b).
215+
e. Except as otherwise agreed in writing by the Licensor or as may be
216+
otherwise permitted by applicable law, if You Reproduce, Distribute or
217+
Publicly Perform the Work either by itself or as part of any
218+
Collections, You must not distort, mutilate, modify or take other
219+
derogatory action in relation to the Work which would be prejudicial
220+
to the Original Author's honor or reputation.
221+
222+
5. Representations, Warranties and Disclaimer
223+
224+
UNLESS OTHERWISE MUTUALLY AGREED BY THE PARTIES IN WRITING, LICENSOR
225+
OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY
226+
KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,
227+
INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,
228+
FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF
229+
LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS,
230+
WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION
231+
OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
232+
233+
6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE
234+
LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR
235+
ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES
236+
ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS
237+
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
238+
239+
7. Termination
240+
241+
a. This License and the rights granted hereunder will terminate
242+
automatically upon any breach by You of the terms of this License.
243+
Individuals or entities who have received Collections from You under
244+
this License, however, will not have their licenses terminated
245+
provided such individuals or entities remain in full compliance with
246+
those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any
247+
termination of this License.
248+
b. Subject to the above terms and conditions, the license granted here is
249+
perpetual (for the duration of the applicable copyright in the Work).
250+
Notwithstanding the above, Licensor reserves the right to release the
251+
Work under different license terms or to stop distributing the Work at
252+
any time; provided, however that any such election will not serve to
253+
withdraw this License (or any other license that has been, or is
254+
required to be, granted under the terms of this License), and this
255+
License will continue in full force and effect unless terminated as
256+
stated above.
257+
258+
8. Miscellaneous
259+
260+
a. Each time You Distribute or Publicly Perform the Work or a Collection,
261+
the Licensor offers to the recipient a license to the Work on the same
262+
terms and conditions as the license granted to You under this License.
263+
b. If any provision of this License is invalid or unenforceable under
264+
applicable law, it shall not affect the validity or enforceability of
265+
the remainder of the terms of this License, and without further action
266+
by the parties to this agreement, such provision shall be reformed to
267+
the minimum extent necessary to make such provision valid and
268+
enforceable.
269+
c. No term or provision of this License shall be deemed waived and no
270+
breach consented to unless such waiver or consent shall be in writing
271+
and signed by the party to be charged with such waiver or consent.
272+
d. This License constitutes the entire agreement between the parties with
273+
respect to the Work licensed here. There are no understandings,
274+
agreements or representations with respect to the Work not specified
275+
here. Licensor shall not be bound by any additional provisions that
276+
may appear in any communication from You. This License may not be
277+
modified without the mutual written agreement of the Licensor and You.
278+
e. The rights granted under, and the subject matter referenced, in this
279+
License were drafted utilizing the terminology of the Berne Convention
280+
for the Protection of Literary and Artistic Works (as amended on
281+
September 28, 1979), the Rome Convention of 1961, the WIPO Copyright
282+
Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996
283+
and the Universal Copyright Convention (as revised on July 24, 1971).
284+
These rights and subject matter take effect in the relevant
285+
jurisdiction in which the License terms are sought to be enforced
286+
according to the corresponding provisions of the implementation of
287+
those treaty provisions in the applicable national law. If the
288+
standard suite of rights granted under applicable copyright law
289+
includes additional rights not granted under this License, such
290+
additional rights are deemed to be included in the License; this
291+
License is not intended to restrict the license of any rights under
292+
applicable law.
293+
294+
Creative Commons Notice
295+
296+
Creative Commons is not a party to this License, and makes no warranty
297+
whatsoever in connection with the Work. Creative Commons will not be
298+
liable to You or any party on any legal theory for any damages
299+
whatsoever, including without limitation any general, special,
300+
incidental or consequential damages arising in connection to this
301+
license. Notwithstanding the foregoing two (2) sentences, if Creative
302+
Commons has expressly identified itself as the Licensor hereunder, it
303+
shall have all rights and obligations of Licensor.
304+
305+
Except for the limited purpose of indicating to the public that the
306+
Work is licensed under the CCPL, Creative Commons does not authorize
307+
the use by either party of the trademark "Creative Commons" or any
308+
related trademark or logo of Creative Commons without the prior
309+
written consent of Creative Commons. Any permitted use will be in
310+
compliance with Creative Commons' then-current trademark usage
311+
guidelines, as may be published on its website or otherwise made
312+
available upon request from time to time. For the avoidance of doubt,
313+
this trademark restriction does not form part of this License.
314+
315+
Creative Commons may be contacted at http://creativecommons.org/.

script.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
3+
# https://vercel.com/guides/how-do-i-use-the-ignored-build-step-field-on-vercel
4+
5+
echo "VERCEL_GIT_COMMIT_REF: $VERCEL_GIT_COMMIT_REF"
6+
7+
if [[ "$VERCEL_GIT_COMMIT_REF" == "main" || "$VERCEL_GIT_COMMIT_REF" == "cms" || "$VERCEL_GIT_COMMIT_REF" == "feat/cms" ]] ; then
8+
# Proceed with the build
9+
echo "✅ - Build can proceed"
10+
exit 1;
11+
12+
else
13+
# Don't build
14+
echo "🛑 - Build cancelled"
15+
exit 0;
16+
fi

0 commit comments

Comments
 (0)