尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证the website for 5calls.org
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Pages on the site are static files built with hugo. This makes things speedy to load and cheap to host. We make certain sections of the site dynamic by injecting small react components that handle ~1 task. Components are:
Our goal is to keep the pages fast, publish the info that people read first statically in html so it renders ~immediately and then load any dynamic content in small components on the page afterwards.
Install hugo if not already installed
yarn build-js will build the react components and move the js files into the hugo directories 1xFor development:
start hugo with hugo server
move to react folder with cd react
yarnBuild the react components:
yarn build-js:dev to rebuild on every change.The hugo server should automatically reload changes after a few seconds. If you are still not seeing your changes try a hard reload (shift+cmd+r).Fetch the current 5 Calls content
yarn build-content will fetch the latest topics and build hugo content files in the right placeBuild and deploy hugo
hugo will build the site and content, placing the final built site in public/This happens automatically for production via netlify but you will have to run manually for local installs.
New versions are deployed to netlify automatically from main
The content archives are not updated each build but with a separate yarn build-archives command. This content is then committed to the repo, unlike the active content.
Right now this only includes content from previous Congressional sessions, ideally we should update this with content from the current session as soon as it's no longer callable.