mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- added docs generator;
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# Welcome to the Ultimate Member Plugin Hook Documentation
|
||||
|
||||
This resource is generated documentation on actions and filters found in the [Ultimate Member](https://wordpress.org/plugins/ultimate-member/) plugin. Use the sidebar to browse and navigate.
|
||||
|
||||
For more information about using Ultimate Member with WordPress, please see the [Ultimate Member Docs](https://docs.ultimatemember.com/).
|
||||
|
||||
To report an issue with Ultimate Member, please visit the [Support forum](https://wordpress.org/support/plugin/ultimate-member/).
|
||||
@@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title><?js= title ?> - Ultimate Member Hook Docs</title>
|
||||
|
||||
<script src="scripts/prettify/prettify.js"> </script>
|
||||
<script src="scripts/prettify/lang-css.js"> </script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=IBM+Plex+Mono|IBM+Plex+Sans:300,400|Playfair+Display:900&display=swap" rel="stylesheet">
|
||||
<link type="text/css" rel="stylesheet" href="styles-um.css">
|
||||
</head>
|
||||
|
||||
<body<?js if (title === 'Home') { ?> class="home"<?js } ?>>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<?js if (title !== 'Home') { ?>
|
||||
<h1 class="page-title"><?js= title ?></h1>
|
||||
<?js } ?>
|
||||
|
||||
<?js= content ?>
|
||||
|
||||
<footer>
|
||||
<a href="https://wordpress.org/plugins/ultimate-member/">Ultimate Member Plugin</a> •
|
||||
<a href="https://docs.ultimatemember.com/">Official Docs</a>
|
||||
</footer>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<?js= this.nav ?>
|
||||
</nav>
|
||||
|
||||
<br class="clear">
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
<script src="scripts/linenumber.js"> </script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,98 @@
|
||||
body {
|
||||
background: #fefefe;
|
||||
color: #232323;
|
||||
font-family: 'IBM Plex Sans', sans-serif;
|
||||
font-size: 1.3rem;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
line-height: 1.2;
|
||||
font-family: 'Playfair Display', sans-serif;
|
||||
font-weight: 900;
|
||||
letter-spacing: -.01em;
|
||||
}
|
||||
|
||||
h1.page-title {
|
||||
font-size: 42px;
|
||||
margin-top: .5em;
|
||||
}
|
||||
|
||||
nav ul {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
nav li a {
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
nav li a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
code, pre,
|
||||
nav ul a, nav ul a:visited, nav ul a:active,
|
||||
.name, .signature,
|
||||
.params .name, .props .name,
|
||||
.name code {
|
||||
font-family: 'IBM Plex Mono', monospace;
|
||||
}
|
||||
|
||||
article h1 {
|
||||
margin: 12px 0 32px;
|
||||
}
|
||||
|
||||
a {
|
||||
background-image: linear-gradient(transparent calc(100% - 7px), #f2dede 0),
|
||||
linear-gradient(transparent calc(100% - 7px), #cef8f7 0);
|
||||
background-position: 0 0;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 0 100%, 100% 100%;
|
||||
color: #232323;
|
||||
text-decoration: none;
|
||||
transition: all .1s;
|
||||
}
|
||||
|
||||
a:visited,
|
||||
a:active {
|
||||
color: #232323;
|
||||
}
|
||||
|
||||
a:focus,
|
||||
a:hover {
|
||||
background-size: 100% 100%, 100% 100%;
|
||||
color: #232323;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a.banner {
|
||||
background-image: none;
|
||||
margin-left: -10px;
|
||||
}
|
||||
|
||||
a.banner img {
|
||||
width: 100%;
|
||||
max-width: 888px;
|
||||
}
|
||||
|
||||
footer {
|
||||
text-align: center;
|
||||
font-size: .8em;
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.home #main > section:first-of-type,
|
||||
.home nav > h2 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.prettyprint.source {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.prettyprint code {
|
||||
padding: 2px 10px;
|
||||
line-height: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
Reference in New Issue
Block a user