-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NexT v7 Docs #36
Comments
I think |
What about moving /docs to wiki pages? Many links are broken in these .md files, for example, in https://github.com/theme-next/hexo-theme-next/blob/master/docs/zh-CN/CODE_OF_CONDUCT.md, when you click the national flag for another language, it will return a |
All main docs will be in website. |
I think better will be on Hexo & NexT, and it's already done (later will be with multilanguage, like Hexo site). The problem is – too many docs & configurations. We working with Alex on it and site will be ASAP. You also can join to working on site, just write me in Telegram, if you want. |
Recommendation: Publish a new article on theme-next.org each time a new version of NexT is released (Could be done by a bot) |
Nice idea. Which bot can do it? |
@ivan-nginx I have wrote one: const request = require("request"),
fs = require("fs");
function get() {
request.get({
url: "https://api.github.com/repos/theme-next/hexo-theme-next/releases",
headers: {
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.2 Safari/605.1.15"
}
}, function(error, response, body) {
fs.writeFileSync("data.json", body);
});
}
function parse() {
data = JSON.parse(fs.readFileSync("data.json"));
for (i of data) {
version = i.html_url.replace("https://github.com/theme-next/hexo-theme-next/releases/tag/v", "");
time = i.published_at.replace("T", " ").replace("Z", " ");
body = i.body.replace(/#(\d{1,})/g, "[#$1](https://github.com/theme-next/hexo-theme-next/pull/$1)").replace(/\r\n/g, "\n");
var str = `---
title: NexT ${version} Released
date: ${time}
---
${body}
[Detailed changes for NexT v${version}](https://github.com/theme-next/hexo-theme-next/releases/tag/v${version})`;
fs.writeFileSync(`next-${version.split(".").join("-")}-released.md`, str);
}
}
parse(); Need to run manually |
Hmm... 🤔 Need to run from own server or how? Need something like reproduce steps. Mb it can be added under the cron. |
Another suggestion: using bots to keep all these |
Yeah, dude! U look in the right way. |
@ivan-nginx How about adding some warnings to README.md in v5.x to warn the users that the old project is no longer maintained? |
@stevenjoezhang Yes, nice idea. You can add it, I'll merge. |
This comment has been minimized.
This comment has been minimized.
Need to make move like this for all similar docs. For RU docs too. |
I'm right now working on it, not only on License. Don't touch this docs for now. About
Need to move this docs to the site, theme-next.org/docs/.. Actually, some docs already there. So, my mistake with the question above: #36 (comment) – answer is no. Need just create link from this repos to site with docs with usage for this module. |
For now it seems fine... there are only docs in English on theme-next.org. |
@stevenjoezhang first of all, u need to join with any supported messengers for NexT, or suggest another one. I suggest to join in Telegram. |
@stevenjoezhang please, write me PM in Telegram, I can't to find you there. |
@stevenjoezhang so, how we can add to auto-launch this script? Maybe directly in Netlify, this script will be check for new versions and generate if needed? |
Perhaps we can use another script to get the update, and then send PR to the repository |
Superseded by #88 |
docs/
docs/
docs/
docs/third-party-services/comments-and-widgets/
? @sli1989docs/theme-settings/posts/
?docs/theme-settings/
?docs/theme-settings/
docs/getting-started/
). Moved intodocs/getting-started/deployment/
page.docs/external-libraries/
..gitignore
bug (Remote js css files disappeared afterhexo d
or git push [strange .gitignore bug with macOS: deploy can't work correctly] hexo-theme-next#37, 找不到font-awesome.min.css 等lib下的文件 hexo-theme-next#636)hexo-renderer-kramed
configuration (Mathjax 部分渲染失败 hexo-theme-next#826)header: false
in Front-matterThe text was updated successfully, but these errors were encountered: